Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade python 2.7.12 to python 2.7.14 in Ubuntu?

I am not able to upgrade the python version in Ubuntu. What is the command used for this? Can anyone help me out?


1 Answers

Then download using the following command:

version=2.7.13
cd ~/Downloads/
wget https://www.python.org/ftp/python/$version/Python-$version.tgz

Extract and go to the directory:

tar -xvf Python-$version.tgz
cd Python-$version

Now, install using the command you just tried, using checkinstall instead to make it easier to uninstall if needed:

./configure
sudo make install

This worked for me..


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!