Install different version of Python in linux

This is how I install python 2.7.13 without erasing the current version of python that exists inside the OS. It is an alternative install.

$ wget
$ tar xvf Python-2.7.13.tar.xz
$ cd Python-2.7.13
$ ./configure
$ make
$ sudo make altinstall

Leave a Reply

Your email address will not be published. Required fields are marked *