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
Bootstrap Daterangepicker Example
Bootstrap Daterangepicker Exam...

In this small tutorial i will show you how to implement bootstrap daterangepicker example, bootstrap date rang...

Read More

May-17-2021

How to Generate Avatar Image for User in Laravel 11
How to Generate Avatar Image f...

Creating avatar images for users in Laravel 11 can enhance the visual appeal of your application and make it more person...

Read More

Jan-16-2025

Advanced Custom Error Handling and Logging Strategies in Laravel 11
Advanced Custom Error Handling...

Hello, laravel web developers! In this guide, I’ll walk you through setting up advanced error handling and logging...

Read More

Oct-04-2024

How To Disable Weekends In jQuery Datepicker
How To Disable Weekends In jQu...

In this tutorial, we will see how to disable weekend dates in jquery datepicker. In the date picker, the weeke...

Read More

Jun-27-2022