I am on Ubuntu 11.04 and have Python 2.6 installed. I would like to upgrade to Python 2.7. How should I go about doing this?
If indeed you find you don't have python 2.7 its in the repositories
sudo apt-get install python2.7
You may find, however, that instead of calling
python to compile, having multiple versions will need you to specifically call
You can overwrite this behavior by redirecting the 'python' link in your /usr/bin/ directory to the python2.7 executable. (This may cause problems if you're keeping legacy programs that are expecting 2.6 and are badly coded, however I very much doubt it.)