How to Install PIP on CentOS 7

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.

  1. Login to your CentOS 7 server with root user with your favorite SSH client

  2. Once logged in add/install the EPEL repository with the command

    rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm


    add/install the EPEL repository with the command  rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm

  1. On the next step update the packages with the command

    yum –y update


    update packages with the command yum –y update

  1. The last step would be to install python-PIP and any other required packages with the command

    yum -y install python-pip
    install python-PIP and any other required packages with the command  yum -y install python-pip

    Python PIP Installed

  1. Verify the installation with the command
    pip –V

    Verify the installation with the command pip –V

  1. You are done with installing PIP.