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 stable build, add the following line to /etc/apt/sources.list:

[For x86_64 servers]
deb [arch=amd64] http://xcat.org/files/xcat/repos/apt/latest/xcat-core bionic main
[For ppc64el servers]
deb [arch=ppc64el] http://xcat.org/files/xcat/repos/apt/latest/xcat-core bionic main

[xcat-dep]

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

[For x86_64 servers]
deb [arch=amd64] http://xcat.org/files/xcat/repos/apt/latest/xcat-dep bionic main
[For ppc64el servers]
deb [arch=ppc64el] http://xcat.org/files/xcat/repos/apt/latest/xcat-dep bionic main

Continue to the next section to install xCAT.

Local Repository

[xcat-core]

  1. Download xcat-core:

    # downloading the latest stable build, xcat-core-<version>-ubuntu.tar.bz2
    mkdir -p ~/xcat
    cd ~/xcat/
    wget http://xcat.org/files/xcat/xcat-core/<version>.x_Ubuntu/xcat-core/xcat-core-<version>-ubuntu.tar.bz2
    
  2. Extract xcat-core:

    tar jxvf xcat-core-<version>-ubuntu.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 version of xCAT, it’s recommended to download the latest version of xcat-dep.

  1. Download xcat-dep:

    # downloading the latest stable version, xcat-dep-<version>-ubuntu.tar.bz2
    mkdir -p ~/xcat/
    cd ~/xcat
    wget http://xcat.org/files/xcat/xcat-dep/2.x_Ubuntu/xcat-dep-<version>-ubuntu.tar.bz2
    
  2. Extract xcat-dep:

    tar jxvf xcat-dep-<version>-ubuntu.tar.bz2
    
  3. Configure the local repository for xcat-dep by running the mklocalrepo.sh script:

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