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 8 Socialite Login with Google Account
Laravel 8 Socialite Login with...

In this article, we will see laravel 8 socialite login with a google account. This post gives you an example of a larave...

Read More

Dec-01-2020

Laravel tips DB Models and Eloquent - Part 5
Laravel tips DB Models and Elo...

Welcome to the fifth installment of our ongoing series, "Laravel Tips: DB Models and Eloquent." In this latest...

Read More

Oct-20-2023

Laravel 8 Mobile Number OTP Authentication using Firebase
Laravel 8 Mobile Number OTP Au...

Hello All, In this tutorial i will show you laravel 8 mobile number OTP authentication using firebase, There are many...

Read More

Mar-31-2021

Laravel 10 Send Mail using Markdown Template
Laravel 10 Send Mail using Mar...

Hey everyone! Ever wondered how to make your Laravel emails look sleek and professional? In this guide, I'll walk yo...

Read More

Dec-04-2023