Using Polybox on Gentoo Linux

The following guide shows how to run polybox, a dropbox like cloud provided by ETH Zurich, on Gentoo Linux.

Since polybox is not in the portage tree, we have to download the packages from a diffrent distro. Debian packages are easy to extract, thus we use the latest *.deb from https://polybox.ethz.ch/repo/Debian_7.0/amd64

  • libpolyboxsync-dev
  • libpolyboxsync0
  • polybox-client

The next step is to extract the *.deb packages using the following command

ar x *.deb
tar xvf data.tar.gz

Then we move the polybox binary, its dependencies and its config file to the right location

cp -r etc/polybox/ /etc
cp -r usr/include/ /usr/local/
cp -r usr/share/ /usr/local/
cp -r usr/bin/ /usr/local/
cp usr/lib/x86_64-linux-gnu/libpolyboxsync.so* /usr/lib/
mkdir /usr/lib/x86_64-linux-gnu/
cp -r usr/lib/x86_64-linux-gnu/polybox/ /usr/lib/x86_64-linux-gnu/

After that /usr/lib64/ should look as follows.

root@host user # ls -al /usr/lib64/ | grep poly
lrwxrwxrwx   1 root root       19 Sep 19 22:06 libpolyboxsync.so -> libpolyboxsync.so.0
lrwxrwxrwx   1 root root       23 Sep 19 22:06 libpolyboxsync.so.0 -> libpolyboxsync.so.1.6.3
-rw-r--r--   1 root root  1109640 Sep 19 22:06 libpolyboxsync.so.1.6.3

Now make sure all further dependencies available in portage are installed. Normaly the qtkeychain is the only missing package.

emerge -avq qtkeychain

That's it! Polybox could be started e.g. using xfce4-application-finder

Further Reading:

PG4gdWVycz0iem52eWdiOj9maG93cnBnPWN1dG56Y3JlLnB1Jm56YztvYnFsPSUwTiUwTnVnZ2NmOi8vY3V0bnpjcmUucHUvZ2JjdnBmL295YnQvMjAxNC0wOS0yM18xNjQwX2NieWxvYmsiPjx2IHB5bmZmPSJzbiBzbi0yayBzbi1yYWlyeWJjci1mZGhuZXIgamJqIG9iaGFwclZhIiBxbmduLWpiai1xcnlubD0iLjZmIiBmZ2x5cj0iaXZmdm92eXZnbDogaXZmdm95cjsgbmF2em5ndmJhLXFyeW5sOiAwLjZmOyBuYXZ6bmd2YmEtYW56cjogb2JoYXByVmE7Ij4gPC92PiA8L24+