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).


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


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