The current version of python I've now which is installed by default with Ubuntu is 2.7rc1 ,
Is it possible to update it officially to the latest version (3.7.1) ?
Thank You .
Asked
Active
Viewed 3.7e+01k times
69
Ahmed Ashraf
- 793
1 Answers
70
Outdated:
Python 3.7.1 is still in maintenance version. It is only available for download to Windows and macOS users. Once the stable version is released, then it is made available in Linux repositories. For Windows and Mac users visit this python.org URL.
Currently (2022):
For Linux users: you can download the 3.11.0 version from the terminal
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python3.11
Check the most recent Python version available here: https://www.python.org/downloads/
-
1
-
3just change the second command to the latest stable version instead of python3.7, currently 3.8 – baldy May 18 '20 at 15:16
-
5
-
6
-
Maybe @ramar-kumar-rudraraju @Santropedro @baldly did not realize the question was for Ubuntu 18.04? (they may have run those commands in a newer Ubuntu version?). As of April 2025, trying this on Ubuntu 18.04 and after
sudo apt-get update && sudo apt-get upgrade, runningaptitude search pythononly offers python3 versions from 3.6 to 3.8 – abu Apr 19 '25 at 10:50
python3 -V? They should show that you already have Python 3.6.6 installed in 18.04. – karel Oct 24 '18 at 07:54