Learn How To Install Pip on Linux

September 21, 2019

Table of Contents

Pip is a tool for managing Python packages. Using a package manager allows for efficient management of your server. In this tutorial, I’ll explain how to install Pip on various Linux distros.

Ubuntu 14.04

Step 1: Update repository list

Update your repository list to make sure the installation will complete successfully:

apt-get update

Step 2: Install Pip

After you have updated the repository list, you can install Pip using apt-get:

apt-get install python-pip

Step 3: Confirm installation

Now confirm Pip has been installed successfully by executing pip -v on the command line. If you see a version printed on the screen, the installation was successful.

CentOS 7

Step 1: Update repository list

Update your repository list with yum:

yum update

Step 2: Install Pip

We can now install Pip:

yum -y install python-pip

Step 3: Confirm installation

Check your version by executing pip -v. If this returns a version, Pip has successfully been installed.

Need help?

Do you need help setting up this on your own service?
Please contact us and we’ll provide you the best possible quote!