CERNBOX for Ubuntu 20.04

I’ve been dealing with ticket RQF1615983, a request for CERNBOX for Ubuntu 20.04.
The guy Fabrice le Goff, has created a deb package and I’m posting the steps he took:

I compiled cernbox client from the source available for Ubuntu 19.10 in https://cernbox.cern.ch/cernbox/doc/Linux/repo/Ubuntu_19.10/ (cernbox-client_2.5.4+oc.orig.tar.gz patched with cernbox-client_2.5.4+oc-2719.diff.gz) and made a deb package out of it.

tar xzf cernbox-client*.tar.gz
gunzip diff.gz
cd cernbox-client

patch …/*.diff
mkdir client-build
cd client-build
sudo apt-get install ‘.qt5.-dev’ #probably installing a lot of unneeded things but well… lazyness is what it is
sudo apt install libsqlite3-dev
cmake …
make -j
sudo checkinstall

Awesome, thanks for doing that, @dcressat! I’m one of those waiting for that package :slight_smile:

I can see Ubuntu 20.04 packages here - I guess those are your?

(And just FYI, if you enclose your shell lines by ``` then the forum doesn’t re-format * to italics etc :slight_smile:)

Cheers, Axel.

Thanks to Axel’s comment, I accidentally stumbled upon:

AFAICT works with 20.04 and 20.10.

Shame that these repositories and lister in the documentation. Would probably save some people some time.

21.04 is there now as well (in the future repository)

The 21.04 version in the future repo works fine in 21.10.

wget -q -O- https://cernbox.cern.ch/cernbox/doc/Linux/repo.future/Ubuntu_21.04/Release.key  | sudo apt-key add -
sudo sh -c "echo 'deb http://cernbox.cern.ch/cernbox/doc/Linux/repo.future/Ubuntu_21.04/ /' > /etc/apt/sources.list.d/cernbox-client.list"
sudo apt-get update
sudo apt-get install cernbox-client