Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Install Python Pip

Often, the best way to install the latest version of a Python application is through the Python package management system (pip).

PIP3

If you are using Debian 10 or Ubuntu 20.04, then you want to install pip3 by running the following:

sudo apt-get install python3-pip -y \
  && sudo pip3 install --upgrade pip

PIP

This method is what you should use if you are using an older distro like Debian 8 or Ubuntu 16.04

sudo apt-get install python-pip -y \
  && sudo pip install --upgrade pip
Last updated: 26th October 2021
First published: 16th August 2018

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch