31 C
Jaipur
Saturday, May 15, 2021

How to Install Python 3.9 On Ubuntu 20.04 and 20.10 – Linux Hint

Must read

Python, an object-oriented programming language, is well-liked among beginners and experienced developers due to its easy and user-friendly syntax. This versatile language is used as a key language in top tech companies.

With new features/modules, security updates, and improvements, the python 3.9 version has been released to make this functional language more useful and top-ranked.

Now, let’s check how to get python 3.9 on Ubuntu 20.04 device.

How to Install Python 3.9 On Ubuntu 20.04 (LTS) and 20.10:

There are two main approaches to install python 3.9 on Ubuntu 20.04. but we will go with the convenient and straight-forward approach.

Your terminal will be opened by pressing Ctrl+Alt+T. Once your terminal is opened, follow the steps listed below:

Step 1: Add repository with the command:

$ sudo add-apt-repository ppa:deadsnakes/ppa

Step 2: Use the update command to update your apt cache. It will help to update all packages listed on Ubuntu.

D:KamranFeb�3ArticlePicsimagesimage3 final.png

Once all the packages are updated, use the below-mentioned command to install the updated version of python 3.9.

$ sudo apt install python 3.9

D:KamranFeb�3ArticlePicsimagesimage2 final.png

So, python 3.9 is installed on your system. You can check its version if there is any doubt by using the command:

D:KamranFeb�3ArticlePicsimagesimage5 final.png

Now, the installation process of python 3.9 is completed.

How To Uninstall Python 3.9 On Ubuntu 20.04 (LTS) 20.10:

In addition, if you want to remove or uninstall it, the following command will be used, and it will remove a python from your system.

$ sudo apt autoremove python3.9

D:KamranFeb�3ArticlePicsimagesimage4 final.png

Conclusion:

In this article, we have learned how to install the Python 3.9 version on Ubuntu 20.04. Python is a high-level, object-oriented language that is simple, easy to learn, and convenient for large-scale projects.

Source link

- Advertisement -

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement -

Latest article