# This is for the old Python 2.x, for a more recent version see Python
wget -c http://python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz
tar -xJf Python-2.7.15.tar.xz
cd Python-2.7.15
mkdir -p build
cd build
../configure --prefix="/usr" --enable-shared
make # Doesn't mind -j#
make install