How Do You Install pip on a RHEL Server in AWS?

Problem scenario
You want to install pip on a RedHat Enterprise Linux server in AWS.  What do you do?

This assumes that Python has been installed. If it has not, run this command:
sudo yum -y install python3


You may want to try these two commands first:

sudo find / -name pip
sudo find / -name pip3

If the above did not help you, run these three commands:
curl "" -o ""
sudo python3
# use python if python3 is not found
sudo ln -s /usr/local/bin/pip /usr/bin/pip

Leave a comment

Your email address will not be published. Required fields are marked *