How To Install Python On Ubuntu

Websolutionstuff | May-06-2022 | Categories : Python

In this article, we will see how to install python on ubuntu. Python is a popular programming language. Python can be used on a server to create web applications. Python is a high-level, dynamic, and general-purpose programming language. It was designed and developed by Python Software Foundation.

So, let's see how to install python on ubuntu 16.04, how to install python on ubuntu 18.04, how to install python on ubuntu 20.04, install python 3 on ubuntu, ubuntu install python 3, ubuntu install python, ubuntu install pip, install python in ubuntu using terminal, ubuntu 20.04 install python 3, install python 3 on ubuntu 20.04.

Step 1: Update the APT Repository

In this step, we will update the APT repository using the below command.

apt-get update

 

 

Step 2: Install Supporting Software

 Install the supporting software with the below command. The software-properties-common package gives you better control over your package manager by letting you add PPA (Personal Package Archive) repositories.

sudo apt install software-properties-common

 

Step 3: Add Deadsnakes PPA

Deadsnakes is a PPA with newer releases than the default Ubuntu repositories. Add the PPA using the below command.

sudo add-apt-repository ppa:deadsnakes/ppa

The system will prompt you to press enter to continue. After that update the package.

sudo apt update

 

 

Step 4: Install Python 3

Now, we will install Python 3.8 the using below command.

sudo apt install python3.8

You can verify whether python is installed or not using the below command.

python --version

 


You might also like :

Recommended Post
Featured Post
Laravel 9 Foreach Loop Variable Example
Laravel 9 Foreach Loop Variabl...

In this article, we will see laravel 9 foreach loop variable example. Laravel provides a simple blade template...

Read More

Jul-22-2022

How to Install Jenkins on Ubuntu
How to Install Jenkins on Ubun...

In today's fast-paced software development landscape, I've understood the significance of continuous integration...

Read More

Aug-07-2023

How To Create Custom Middleware In Laravel 9
How To Create Custom Middlewar...

In this article, we will see how to create custom middleware in laravel 9. Laravel middleware provides a conve...

Read More

Mar-27-2022

Laravel whereHas and orWhereHas Query Example
Laravel whereHas and orWhereHa...

In this article, we will see the laravel whereHas and orWhereHas query example. whereHas and orWhereHas query is us...

Read More

Jan-19-2021