How to Install Pip on Fedora 21
Pip is a tool for installing and managing Python packages.
Python is a programming language. It is quite popular and has a design philosophy that emphasizes code readability. It is widely considered to be a very easy programming language to learn and master because of its focus on readability. Python is open source, and will run a multitude of platforms including, but not limited to: Various Linux/UNIX distributions (CentOS, Ubuntu, Fedora, Debian, etc.), Microsoft Windows, and Mac OS X.
Pre-Flight Check
- 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.
There are two options for installing Pip. Use either Option #1 or Option #2 below.
First, clean-up yum:
yum clean all
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
And skip to Step #3.
We can also use curl and python to download and install Pip.
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python get-pip.py
View a list of helpful commands:
pip --help
Check the version of Pip that is installed:
pip -V
Which 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)
Related Articles:

About the Author: J. Mays
As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.
Latest Articles
How to Install WordPress on Linux (AlmaLinux)
Read ArticleWhat is CentOS? Everything You Need to Know
Read ArticleWhat is CentOS? Everything You Need to Know
Read ArticleRedis as Cache: How It Works and Why You Should Use It
Read ArticleRefer-a-Friend Program for Website Hosting: Get $100 for Each Friend!
Read Article