Unlike previous versions of Ubuntu, Ubuntu 18.04 does not have Python 2 pre-installed, it ships with Python 3.6.7 instead. In this video you’ll learn how to update Python 3.6.7 to the latest Python 3.7 release.
Join us and get access to thousands of tutorials and a community of expert Pythonistas.
This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.
Installing Python on Ubuntu Linux 18.04
00:00
Installing Python on Ubuntu 18.04. Launching the terminal will allow you to check the Python versions that are installed. python --version shows that Python 2 isn’t installed but Python 3 is.
00:21
And in this case, it’s a little out of date and it needs to be updated. On Ubuntu 18, Python 3.7 is in the standard repositories, so it’s merely a case of sudo apt-get update and putting in a password for the first time.
00:40
And then once that update is complete, sudo apt-get install python3.7 idle-python3.7 will get the software you need installed. y will confirm that you want to install it, and then it will be downloaded and installed automatically.
01:10
Once it’s installed and set up, idle-python3.7 will open IDLE and allow you to start developing.
Become a Member to join the conversation.
Ru551and on July 9, 2020
it was easy :)