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 yum or apt won't work because they will try to write in /usr/... but 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
$ bash 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:
export PATH=$HOME/miniconda3/bin:$PATH
And you are ready to install packages!