How To Install Python 3.3.5 On Ubuntu 14.04, Ubuntu 12.04, Linux Mint 17, Linux Mint 13 And Their Derivative Systems

Hello Linux Geeksters. As you may know, Python 3.3.5 has been released last month, coming with a bunch of fixes for some critical issues on the previous Python version. For information about this release, see the changelog.

How To Install Python 3.3.5 On Ubuntu 14.04, Ubuntu 12.04, Linux Mint 17, Linux Mint 13 And Their Derivative Systems

In this article I will show you how to install Python 3.3.5 on Ubuntu 14.04 Trusty Tahr, Ubuntu 12.04 Precise Pangolin, Linux Mint 17 Qiana, Linux Mint 13 Maya, Pinguy OS 14.04, Pinguy OS 12.04, Elementary OS 0.3 Isis and Elementary OS 0.2 Luna.

Because it is available via PPA, installing Python 3.3.5 on the listed Ubuntu, Linux Mint, Elementary OS and Pinguy OS systems is easy. All you have to do is add the ppa to your system, update the local repository index and install the python3.3 package. Like this:

$ sudo add-apt-repository ppa:fkrull/deadsnakes
$ sudo apt-get update
$ sudo apt-get install python3.3

The easiest way to make Python 3.3 as default is to symlink it:

$ rm /usr/local/bin/python
$ ln -s /usr/bin/python3.3 /usr/bin/python

Optional, to remove Python 3.3, do:

$ sudo apt-get remove python3.3

Share and Enjoy

  • Twitter
  • Facebook
  • Google Plus
  • Email
  • RSS
Tagged with: , , , , , , , , , , , , , , ,
Posted in The Linux and Unix Articles!
2 comments on “How To Install Python 3.3.5 On Ubuntu 14.04, Ubuntu 12.04, Linux Mint 17, Linux Mint 13 And Their Derivative Systems
  1. Cbhihe says:

    Hello,
    On Ubuntu Trusty Tahr, the Python package is installed in /usr/bin, not in /usr/bin/local/.
    In there, I already have a variety of python flavors:

    > ls -l python* # yields in my case:

    0 lrwxrwxrwx 1 root root 9 May 9 20:26 python -> python2.7*
    0 lrwxrwxrwx 1 root root 9 May 9 20:26 python2 -> python2.7*
    3276 -rwxr-xr-x 1 root root 3349512 Mar 23 00:57 python2.7*
    0 lrwxrwxrwx 1 root root 9 May 9 20:26 python3 -> python3.4*
    0 lrwxrwxrwx 1 root root 10 Apr 13 17:46 python3.3 -> python3.3m*
    3480 -rwxr-xr-x 1 root root 3558736 Apr 13 17:46 python3.3m*
    3972 -rwxr-xr-x 1 root root 4061272 Apr 11 16:15 python3.4*
    3972 -rwxr-xr-x 1 root root 4061272 Apr 11 16:15 python3.4m*
    0 lrwxrwxrwx 1 root root 10 May 9 20:26 python3m -> python3.4m*

    where phython3.3 is a symlink pointing to python3.3m.

    – Can somebody help me make sense out of this profusion of packages?
    – Are they all used in their different version ?
    – Do I need to keep them all ?

    Thanks.

    • Geekster says:

      normally, the symlink’s job is to tell the system to use python 3.3, when he invokes python. so you can remove other python versions 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!