The version of python2 on my Ubuntu 14.04 machine is Python 2.7.6. How can I upgrade it to the the latest version of Python 2.X? The latest is currently 2.7.11.
I have tried apt-get update
/upgrade
, but the repository doesn't seem to have the latest version.
Best Answer
Ubuntu 18.04 and newer:
The new version of Ubuntu no longer uses python 2, so you need to install it with:
Ubuntu 17.04 and older:
The answer appears to be to add a third party repository: