Please note that this article is considered legacy documentation because this OS has reached its end-of-life support.
- These instructions are intended specifically for installing Pip, a tool for installing and managing Python packages.
- I’ll be working from a Liquid Web Self Managed Fedora 21 server, and I’ll be logged in as root.
Option #1: Install Pip with YumFirst, clean-up yum:
yum clean allAs a matter of best practice we’ll update our packages:
yum -y updateThen let’s install python-pip and any required packages:
yum -y install python-pipAnd skip to Step #3.
Option #2: Install Pip with Curl and Python
Note: If you installed Pip with the previous step, 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"
Step #3: Verify The InstallationView a list of helpful commands:
pip --helpCheck the version of Pip that is installed:
pip -VWhich should yield something similar to: pip 1.5.6 from /usr/lib/python2.7/site-packages (python 2.7) or pip 6.0.8 from /usr/lib/python2.7/site-packages (python 2.7)