0

I need Python 3.3.5 on Ubuntu Server 12.10.

I want to run apt-get install python3 but I am not sure this will lead to Python3.3.5 version installation.

In other words: how can I install the exact Python version I need through the command line ?

Bernmeister
  • 1,149

1 Answers1

1

If you want to be absolutely sure that you are installing python3.3.5 then

  • Download python3.3.5 source tarball to ~/Downloads Folder

  • make sure you have already removed python3 from the system

    sudo apt-get purge python3
    
  • Change directory to Downloads

    cd ~/Downloads
    
  • Untar the file

    tar -xvf Python-3.3.5.tgz
    
  • Change directory to Python-3.3.5

    cd Python-3.3.5
    
  • run install-sh as root

    sudo ./install-sh
    

This should do the job, hope it works

Back.Slash
  • 2,176