Python is one of the most generally utilized programming dialects on the planet. With its basic and simple to learn linguistic structure, Python is a mainstream decision for novices and experienced engineers. Python is a serious adaptable programming language. It very well may be utilized to manufacture a wide range of uses, from straightforward scrips to complex AI calculations.
In this post, We will install Python 3.8 on Ubuntu 16.04 | 18.04 | 20.04
Step 1: Update System
You need to update and upgrade your ubuntu machine by following the command.
$ sudo apt-get update
$ sudo apt-get upgrade
Step 2: Enable Python Repository
You need add and enable python repository using the given command.
$ sudo apt-get install software-properties-common -y
$ sudo add-apt-repository ppa:deadsnakes/ppa
Press Enter to continue.
Step 3: Install Python 3.8
To install python 3.8, Use the following command.
$ sudo apt-get install python3.8 -y
After installation of python 3.8, You can verify it by using the given command.
$ python3.8 –version