Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to update to the latest Python version in Ubuntu? I tried sudo apt-get install python3 but it says that the current (3.3.1) is already the latest.

share|improve this question
What Ubuntu version do you have? 12.04? – MiJyn Jun 20 '13 at 3:46
I have Ubuntu 13.04. – ThePiercingPrince Jun 20 '13 at 5:13
Any reason why you need 3.3.2 instead of 3.3.1? – gertvdijk Jul 22 '13 at 11:03

Try adding this PPA (notice, I haven't tested it, but it looks fine):

To do this, open a terminal, and run this:

sudo apt-add-repository ppa:fkrull/deadsnakes # Adds the PPA
sudo apt-get update # Updates the lists

And then run the system updates (I would recommend this over sudo apt-get install python3 because other packages may need to be updated for it to work fine):

sudo apt-get dist-upgrade # dist-upgrade might be needed if python3
                          # needs to install or remove packages
                          # for it to work
share|improve this answer
It didn't work. – ThePiercingPrince Jun 21 '13 at 23:44

Ubuntu 13.04 comes with pre-loaded python3 (3.3.2). So you may already have python3 (3.3.2) installed. try python3 in terminal instead of just python

share|improve this answer
It's 3.3.1 (with some backports from 3.3.2), but yeah, 3.3.x is already present. – gertvdijk Jul 22 '13 at 11:02

Your Answer


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.