I'm posting here something that helped me, it is the
miniconda package manager which lets you install packages in your local directory. Most package managers like
apt won't work because they will try to write in
miniconda will put everything inside your home folder.
It's very easy then to install packages, for example I just installed
redis like this:
$ conda install redis
Here is how you install it:
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ . Miniconda3-latest-Linux-x86_64.sh
You may need to create a tmp folder before running that:
$ mkdir ~/tmp
$ export TMPDIR=$HOME/tmp
Then finally adding ~/miniconda3/bin to the path in .bashrc:
And you are ready to install packages!