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 ?

1

1 Answer 1

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

3
  • this manual method I know it, but i wanted to use apt-get install instead. Thank you anyway
    – user284234
    Apr 23, 2014 at 8:32
  • checkout this ppa : ppa:fkrull/deadsnakes it has python3.3.5 and all other versions. but it doesnt have python3.3.5 for 12.10
    – Back.Slash
    Apr 23, 2014 at 8:36
  • the link : askubuntu.com/questions/92019/… arskasra gave me showed me the answer. Thank you, regards
    – user284234
    Apr 23, 2014 at 8:42

You must log in to answer this question.