The EOS client gets automatically built for recent Ubuntu releases, currently “focal” and “jammy”
You might need to have the following packages installed to setup the installation of eos client.
apt update && apt upgrade
apt install -y sudo lsb-release curl gnupg2
Note
You need to add the XRootD and EOS repositories to your /etc/apt/sources.list.
echo "deb [arch=$(dpkg --print-architecture)] http://storage-ci.web.cern.ch/storage-ci/debian/xrootd/ $(lsb_release -cs) release" | sudo tee -a /etc/apt/sources.list.d/cerneos-client.list > /dev/null
echo "deb [arch=$(dpkg --print-architecture)] http://storage-ci.web.cern.ch/storage-ci/debian/eos/diopside/ $(lsb_release -cs) tag" | sudo tee -a /etc/apt/sources.list.d/cerneos-client.list > /dev/null
The above snippet will automatically get “arch” and “release” information for your machine (otherwise, just change arch and distribution name as required).
e.g., for a “amd64” machine with ubuntu “jammy” that would be
deb [arch=amd64] http://storage-ci.web.cern.ch/storage-ci/debian/xrootd/ jammy release
deb [arch=amd64] http://storage-ci.web.cern.ch/storage-ci/debian/eos/diopside/ jammy tag
Note
Also, to avoid possible conflicts with other releases you need to version-lock xrootd dependency packages (this will we softened in future releases).
e.g, as of eos version 5.1.5, you need to version-lock xrootd to 5.5.1:
echo -e "Package: xrootd* libxrd* libxrootd*\nPin: version 5.5.1\nPin-Priority: 1000" > /etc/apt/preferences.d/xrootd.pref
Once the repository are properly configured, you can simply run
In case EOS access as filesystem is wanted, EOS-FUSEX needs then to be configured as per https://gitlab.cern.ch/dss/eos/-/blob/master/fusex/README.md