2

I am running Ubuntu 12.04 with python 2.7.3 installed. How can I update the version of python to 2.7.4?

apt-get install python2.7

does not install anything new

apt-get update python2.7

does not work as it does not accept arguments

apt-get upgrade python2.7

Installed version 2.7.3, but not change to version 2.7.4.

So: How to install the version 2.7.4 of python on Ubuntu 10.04?

Shagun Sodhani
  • 842
  • 1
  • 13
  • 36
Alex
  • 801

1 Answers1

5

The versions of python2.7 available for each supported version of Ubuntu are listed on Launchpad. Only 2.7.3 is packaged on Ubuntu 12.04. If you want to use 2.7.4, there are several options:

  • Upgrade to Ubuntu 12.10, and then to 13.04, which includes 2.7.4.
  • Request a backport of the 2.7.4 package to 12.04.
  • Backport it yourself, either locally, or in your own PPA.
  • If there is a specific fix you need, request it be backported to 2.7.3 on 12.04.
  • Build and install from source (not really recommended though).
dobey
  • 40,982
  • 2
    Why is building it from source not recommended? Is requesting a backport realistic or shouting at the wind? – Nick T Jan 18 '14 at 05:11