Installing Python 2.10 on Linux Mint 17.2
Warning: You may have some packages on your machine which rely on Python, and which may no longer work after installing a different version of Python. Ideally you should use a virtual machine for this
From https://slobaexpert.wordpress.com/2015/07/09/upgrade-python-2-7-6-to-python-2-7-10-on-linux-mint-os/:
- Download Gzipped source tarball from the Python website
- Unzip the downloaded file
- Switch to new folder (e.g. /Downloads/Python-2.7.10)
- In a terminal window:
- apt-get install libc-dev
- If you miss this, you’ll get an error: error: C compiler cannot create executables
- ./configure
- sudo make install
- apt-get install libc-dev
- Run “python –version”
- You should now see 2.7.10