Install Pip with Yum
The are two option
Add the EPEL Repository
Pip is part of Extra Packages for Enterprise Linux (EPEL), which is a community repository of non-standard packages for the RHEL distribution. First, we’ll install the EPEL repository, for directions see
How to enable EPEL repository?
As a matter of best practice we’ll update our packages:
yum -y update
Then let’s install python-pip and any required packages:
yum -y install python-pip
Install Pip with Curl and Python
Note: If you installed Pip with the previous Option, then SKIP this step.
We can also use curl and python to download and install Pip.
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
Wrap-up: Verify The Installation
View a list of helpful commands:
Check the version of Pip that is installed: