Ubuntu – How to install python 3.5.2?


It's my first time using ubuntu so I don't know how to use it very well yet…
How can i install python 3.5.2 ? It has already the version 2.7.12 .
My Ubuntu version is Ubuntu 16.04 LTS (desktop).

Best Answer

  • Basic process:

    sudo apt-get update
    sudo apt-get install python3

    If you want a very specific version:

    sudo apt-cache show python3
    sudo apt-get install python3=3.5.1*
  • Related Question