Site icon installvirtual

How to install python 3.7 on Ubuntu 16.04 / 18.04

In this tutorial, I will show you how to install Python 3.7.0 on Ubuntu 16.04 / 18.04. Python 3.7.0 is the newest major release of the Python language, and it contains many new features and optimizations.

Python is an interpreted high-level programming language for general-purpose programming. Created by Guido van Rossum and first released in 1991, Python has a design philosophy that emphasizes code readability, notably using significant whitespace. It provides constructs that enable clear programming on both small and large scales. In July 2018, Van Rossum stepped down as the leader in the language community after 30 years.

Read Also: How to install python 3.6 on Mac OS X

Prerequisites

You need to install software-properties-common if it’s not installed already
sudo apt-get install software-properties-common

Read Also: How to install postgresql 11 on Ubuntu 18.04

Add PPA for Python 3.7

Firstly, We will add deadsnakes PPA because it is not available on universe repo.

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update

Install Python 3.7 on ubuntu

Now we will install python 3.7 using apt-get.

sudo apt-get install python3.7

Check Python version

Now we have successfully installed python 3.7. Check the version using the following command.

python3.7 -V
Python 3.7.1

If you have any issue using this tutorial please feel free to comment below.

 

Exit mobile version