How to Install PIP

PIP (Python Installs Packages) is a package management system designed to install and manage software packages written in the Python language. While most installations of Python come preinstalled, it may sometimes be necessary to manually install PIP on your machine. PIP can be installed on all major operating systems, including most varieties of Linux distributions. In this guide, we will outline how to install and test PIP on both CentOS, Ubuntu, and Windows 10 machines. If you are using Linux, you will first need to login via SSH.

Topics Include:

Install PIP on your Dedicated Server to start installing Python packages today!

Installing PIP on CentOS

To install PIP on CentOS 7, we will be making use of the YUM package manager. 

  1. Before installing PIP, you have to first add the EPEL Repo
  2. Next, you will want to update your machine:

    yum -y update

  3. Next, install PIP using the following command:

    yum -y install python-pip

  4. Now that we have PIP installed, we can use a few simple commands to test if the installation was successful:

    For a list of commands available in PIP:

    pip --help

    To check the version number of PIP:

    pip -v 

Congratulations, you have installed PIP on CentOS!

Installing PIP on Ubuntu

To install PIP on Ubuntu, we will use the apt package manager.  

  1. First, update your Ubuntu machine:

    sudo apt update

  2. Next, install PIP with the following command:

    sudo apt install python-pip

  3. To ensure that the installation was successful, run the following command:

    pip --version

Congratulations, you have installed PIP on Ubuntu! 

Installing PIP on Windows 10 

  1. First, open Command Prompt.
  2. Next, check if Python is installed on your machine with the following command:


  3. Then download the PIP .py file from the Python Package Authority (PYPA):

  4. Install PIP using the following command:


  5. Then, verify the installation with the following command:

    pip help

    If the installation was successful, you should see something like the following output:

    pip 18.0 from c:\users\path\to\pip

Congratulations, you have installed PIP on Windows 10!

Alyssa Kordek Content Writer I

Alyssa started working for InMotion Hosting in 2015 as a member of the Technical Support team. Before being promoted to Technical Writer, Alyssa developed expertise in the fields of server hardware, Linux operating systems, cPanel, and WordPress. She now works to produce quality technical content featuring cutting-edge topics such as machine learning, data center infrastructure, and graphics card technology.

More Articles by Alyssa

Was this article helpful? Let us know!