Configure xCAT Software Repository

xCAT software and repo files can be obtained from: http://xcat.org/download.html

Internet Repository

[xcat-core]

From the xCAT download page, find the build you want to install and add to /etc/apt/sources.list.

To configure the xCAT development build, add the following line to /etc/apt/sources.list:

deb http://xcat.org/files/xcat/repos/apt/devel/core-snap trusty main

[xcat-dep]

To configure the xCAT deps online repository, add the following line to /etc/apt/sources.list:

deb http://xcat.org/files/xcat/repos/apt/xcat-dep trusty main

If using internet repositories, continue to the next step to install xCAT.

Local Repository

[xcat-core]

  1. Download xcat-core:

    # downloading the latest development build, core-rpms-snap.tar.bz2
    mkdir -p ~/xcat
    cd ~/xcat/
    wget http://xcat.org/files/xcat/xcat-core/devel/Ubuntu/core-snap/core-debs-snap.tar.bz2
    
  2. Extract xcat-core:

    tar jxvf core-debs-snap.tar.bz2
    
  3. Configure the local repository for xcat-core by running mklocalrepo.sh script in the xcat-core directory:

    cd ~/xcat/xcat-core
    ./mklocalrepo.sh
    

[xcat-dep]

Unless you are downloading xcat-dep to match a specific package tested with a GA release, it’s recommended to download the latest version of xcat-dep.

  1. Download xcat-dep:

    # if downloading xcat-dep from June 11, 2015, xcat-dep-ubuntu-snap20150611.tar.bz
    mkdir -p ~/xcat/
    cd ~/xcat
    wget http://xcat.org/files/xcat/xcat-dep/2.x_Ubuntu/xcat-dep-ubuntu-snap20150611.tar.bz
    
  2. Extract xcat-dep:

    tar jxvf xcat-dep-ubuntu-snap20150611.tar.bz
    
  3. Configure the local repository for xcat-dep by running the mklocalrepo.sh script:

    cd ~/xcat/xcat-dep/
    ./mklocalrepo.sh