Skip to main content

How to install Python in Ubuntu 18.04 LTS

 Python 3 comes pre-installed with Ubuntu 18.04 LTS. Follow additional steps to update:

Step 1: Update and Upgrade. To ensure shipped version of Python is up to date.

$ sudo apt update
$ sudo apt -y upgrade

Step 2: Check which version of Python installed using below command.

$ python3 -V

Step 3: Install pip, a tool to manage libraties or modules.

$sudo apt install -y python3-pip
Submitted by tgoswami on March 3, 2021

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.