Thankfully this is easier than you think.

Assuming that Python is already installed on your RHEL instance (which it should be), AND that the EPEL packages are installed on your system, execute the following in order:

yum -y install epel-release
yum -y install python-setuptools
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py

That's it!

If you need to install the EPEL packages, reference this article for guidance - https://access.redhat.com/solutions/3358.

  • Joey D