I want to install the latest Python tarball on Ubuntu, downloaded from http://python.org/download/.
Is this is a correct way to install?
./configure
make
make install
If not, how do I do that?
pythonsoftware installation
I want to install the latest Python tarball on Ubuntu, downloaded from http://python.org/download/.
Is this is a correct way to install?
./configure
make
make install
If not, how do I do that?
Best Answer
First, install some dependencies:
Then download using the following command:
Extract and go to the directory:
Now, install using the command you just tried, using
checkinstall
instead to make it easier to uninstall if needed:Change
version
to whichever version you need (version=2.7.1
orversion=3.6.0
, for example).