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.

marked as duplicate by muru, karel, Eric Carvalho, edwinksl, David Foerster Nov 4 '17 at 11:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    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

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

  • 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

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