Centos 7/8 & RHEL/SLC 6

wget http://cernbox.cern.ch/cernbox/doc/Linux/centos8-cernbox.repo
cp centos8-cernbox.repo /etc/yum.repos.d/cernbox.repo
yum update

yum install cernbox-client

Ubuntu 18.04 / 20.xx / 21.xx

export VERSION=`lsb_release -rs`
# example: the command above will set 18.04 if you are on Bionic Beaver
wget -q -O- https://cernbox.cern.ch/cernbox/doc/Linux/repo/Ubuntu_${VERSION}/Release.key  | sudo apt-key add -
sudo sh -c "echo 'deb http://cernbox.cern.ch/cernbox/doc/Linux/repo/Ubuntu_${VERSION}/ /' > /etc/apt/sources.list.d/cernbox-client.list"
sudo apt-get update
sudo apt-get install cernbox-client

Fedora 31/32

source /etc/os-release
sudo dnf config-manager --add-repo https://cernbox.cern.ch/cernbox/doc/Linux/repo/Fedora_${VERSION_ID}/cernbox.repo
sudo dnf clean all
sudo dnf install cernbox-client
sudo dnf upgrade cernbox-client

Debian 10 / 11

export VERSION=9.0
sudo apt-get install apt-transport-https
wget -q -O- https://cernbox.cern.ch/cernbox/doc/Linux/repo/Debian_${VERSION}/Release.key  | sudo apt-key add -
sudo sh -c "echo 'deb https://cernbox.cern.ch/cernbox/doc/Linux/repo/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.2 / 15.3

sudo rpm --import https://cernboxdistr.web.cern.ch/cernboxdistr/Linux/repo/openSUSE_Leap_${VERSION_ID}/repodata/repomd.xml.key

sudo zypper addrepo https://cernboxdistr.web.cern.ch/cernboxdistr/Linux/repo/openSUSE_Leap_${VERSION_ID}/cernbox.repo
sudo zypper refresh
sudo zypper install cernbox-client

Unofficial clients

contributed by CERNBox user comunity

Archlinux

Installation page

Thanks to Johannes Lange for the contribution

Gentoo

Gentoo Science overlay

Thanks to Oliver Freyermuth for the contribution

Flatpak

Flatpak for the ownCloud client

Thanks to Daniel Fischer for the contribution