public:installpythonversion
Install Python version which is NOT available as system package
Did this on Server rose.inf.unibz.it ticket: #9012
- download source code from https://www.python.org/downloads/
- unpack: tar xfvJ python2.7.13.tar.xz
- cd python2.7.13; mkdir /usr/local/python2713; ./configure –prefix=/usr/local/python2713
- make
- checkinstall (generates a *.deb file and installs it. Make sure you name it python2.7.13 otherwise it collides with existing system package!)
... ./Doc/tools/templates/indexcontent.html ./LICENSE ./README Copying files to the temporary directory...OK Stripping ELF binaries and libraries...OK Compressing man pages...OK Building file list...OK Building Debian package...OK Installing Debian package...OK Erasing temporary files...OK Writing backup package...OK OK Deleting temp dir...OK ********************************************************************** Done. The new package has been installed and saved to /tmp/Python-3.6.0/python3.6.0_3.6.0-1_amd64.deb You can remove it from your system anytime using: dpkg -r python3.6.0 ********************************************************************** root@rose:/tmp/Python-3.6.0#
/data/www/wiki.inf.unibz.it/data/pages/public/installpythonversion.txt · Last modified: 2019/01/16 10:03 by 127.0.0.1