Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to upgrade Python on my 11.04 server from Python 2.7.1 to Python 2.7.3. I assumed that if I did an apt-get install Python2.7 that 2.7.3 would have automatically been available and would have updated. But instead I get:

$ sudo apt-get install python2.7 
python2.7 is already the newest version.

Is there a different repository I need to get it from? Or is it not ported to 11.04? I want some education on which packages and versions are available for previous Ubuntu versions.

share|improve this question
    
See if this applies to you bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/990974 –  Mitch Jul 15 '12 at 20:01

1 Answer 1

up vote 0 down vote accepted

Unfortunately, the latest version of the python2.7 package available in the Natty repositories is 2.7.1-5.

2.7.3 is only officially available for Precise 12.04. You would have to compile this yourself for 11.04, or search for a PPA containing it.

To find out the latest version of a package available for a specific release, simply go to:

http://packages.ubuntu.com/release-name/package-name

where the release-name is natty, oneiric, etc.

To find out all available versions of a specific package and the releases they correspond to, look at:

http://packages.ubuntu.com/search?keywords=package-name

or at:

https://launchpad.net/ubuntu/+source/package-name
share|improve this answer
    
Perfect, just what I needed. Thanks @izx! –  Rob Bednark Jul 16 '12 at 16:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.