Universal AppImage
Suitable for Ubuntu 24.04, as well as for all latest distributions.
wget http://cernbox.cern.ch/cernbox/doc/Linux/repo.future/cernbox-5.2.1.13464-x86_64.AppImage
Alma Linux/RHEL 8 or 9
If you are running a CERN OS Image and installed CERNBox via locmap (as described in here), you can enable the qa repo
sed -i 's/enabled=0/enabled=1/g' /etc/yum-puppet.repos.d/cernbox-ops9al-qa.repo
dnf update cernbox-client
Otherwise, just install manually from the repositories
cat <<EOF > /etc/yum.repos.d/cernbox-stable.repo
[cernbox-stable]
name=cernbox [stable]
baseurl=http://linuxsoft.cern.ch/internal/repos/cernbox\${releasever}al-qa/x86_64/os
enabled=1
gpgcheck=False
EOF
dnf install cernbox-client
Ubuntu
export VERSION=$(lsb_release -rs)
# this is currently supported up to VERSION=22.04
wget -q -O- https://cernbox.cern.ch/cernbox/doc/Linux/repo.future/Ubuntu_${VERSION}/Release.key | sudo tee /etc/apt/trusted.gpg.d/cernbox.asc
sudo sh -c "echo 'deb http://cernbox.cern.ch/cernbox/doc/Linux/repo.future/Ubuntu_${VERSION}/ /' > /etc/apt/sources.list.d/cernbox-client.list"
sudo apt update
sudo apt install cernbox-client
Fedora
source /etc/os-release
sudo dnf config-manager --add-repo https://cernbox.cern.ch/cernbox/doc/Linux/repo.future/Fedora_${VERSION_ID}
sudo rpm --import https://cernbox.cern.ch/cernbox/doc/Linux/repo.future/Fedora_${VERSION_ID}/repodata/repomd.xml.key
sudo dnf clean all
sudo dnf install cernbox-client
sudo dnf upgrade cernbox-client
Debian
export VERSION=9.0
sudo apt-get install apt-transport-https
wget -q -O- https://cernbox.cern.ch/cernbox/doc/Linux/repo.future/Debian_${VERSION}/Release.key | sudo apt-key add -
sudo sh -c "echo 'deb https://cernbox.cern.ch/cernbox/doc/Linux/repo.future/Debian_${VERSION}/ /' > /etc/apt/sources.list.d/cernbox-client.list"
sudo apt-get update
sudo apt-get install cernbox-client
# If you have any problem related with keys (like public key not available):
# edit /etc/apt/sources.list.d/cernbox-client.list and comment out the cernbox repo
apt-get update
# edit /etc/apt/sources.list.d/cernbox-client.list again and re-enable the repo
apt-get update
apt-get upgrade
- Thanks to Paul Seyfert for contributing to installation instructions for Debian.
- Thanks to Michael Davis for contributing the steps to solve the package keys problem.
OpenSUSE Leap 15.1/2
sudo rpm --import https://cernboxdistr.web.cern.ch/cernboxdistr/Linux/repo.future/openSUSE_Leap_${VERSION_ID}/repodata/repomd.xml.key
sudo zypper addrepo https://cernboxdistr.web.cern.ch/cernboxdistr/Linux/repo.future/openSUSE_Leap_${VERSION_ID}/cernbox.repo
sudo zypper refresh
sudo zypper install cernbox-client