Your Webhosting Questions
Answered by the Webhosting Experts
Tags +
...
Tags
...
...

How to Install PIP on CentOS 7

In this guide we’ll be covering the process to install PIP on CentOS 7 using the command line. By following these 7 simple steps, you can install PIP quickly and easily.

But first:

 

What is PIP?

PIP is a package management system used to install and manage software packages written in Python. PIP can be installed either by using YUM or with Curl & Python.

 

Installing PIP on CentOS 7

To install PIP follow these steps:

  1. To begin, you first need to log in and connect to your server via SSH. See here for common SSH clients:

    SSH client utilities (Free):

    PuTTY:
    https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

    Bitvise SSH client:
    https://www.bitvise.com/ssh-client-download

    KiTTY:
    https://www.9bis.net/kitty/

    MobaXterm (Free with available Paid Pro version):
    https://mobaxterm.mobatek.net/

    SmarTTY:
    https://sysprogs.com/SmarTTY/

    Solar-PuTTY (Free with available paid versions):
    https://www.solarwinds.com/free-tools/solar-putty

    There are many others available out there as well.

  2. Next, log in to your CentOS 7 server with root user using your favorite SSH client
  3. Once logged in, add/install the EPEL repository with the command:

    rpm -iUvh https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-12.noarch.rpm

    The image below shows what the command and its results should look like. *Note: the image uses an older version number than the current version, so the url in the command is different.

    Terminal window highlighting the "rpm -iUvh" command

  4. On the next step, update the packages to ensure all recently added repos software is pulled and installed, as well as updating any other out of date software. Use the command:

    yum –y update

    Terminal window highlighting the "yum -y update" command

  5. The last step is to install python-PIP and any other required packages using the command:

    yum -y install python-pip

    Terminal window highlighting the command "yum -y install python-pip"
    Terminal window verifying centos install pip has been completed

  6. Now, verify the installation has been completed successfully with the command:

    pip –V

    Terminal window showing the results of the "pip -V" command confirming PIP has been installed

  7. If all went well and you are seeing the above output, then you should now be ready to use PIP.

And there you have it! Now that you’ve successfully installed PIP on CentOS you’re ready to start using python-based software.

 

Popular Links

Looking for more information on PIP? Search our Knowledge Base!

Interested in more articles about Coding? Navigate to our Categories page using the bar on the left or check out these popular articles:

Popular tags within this category include: CGI Scripts, Zend Optimizer, PIP, Python, and more.

Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.

 

The Hivelocity Difference

Seeking a better Dedicated Server solution? In the market for Private Cloud or Colocation services? Check out Hivelocity’s extensive list of products for great deals and offers.

With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.

Unsure which of our services is best for your particular needs? Call or live chat with one of our sales agents today and see the difference Hivelocity can make for you.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.