PIP - Installing PIP on Linux CentOS
by
Jeremy Canfield |
Updated: December 04 2022
| PIP articles
PIP is typically installed from the EPEL repository, thus you will first want to ensure EPEL is installed.
AVOID TROUBLE
There are 3 versions of pip
- pip is used for Python version 2.6 and below
- pip2 is used for Python version 2.7 and above
- pip3 is used for Python version 3
For example, the /usr/bin/pip command (or just pip) would be used for Python version 2.6 and below.
The yum list installed command can be used to determine if PIP is installed.
yum list installed | grep -i pip
If PIP is already installed, something like this should be returned.
python2-pip.noarch 8.1.2-12.el7 @epel
If PIP is not installed, the yum install command can be used to install PIP.
yum install python-pip
Did you find this article helpful?
If so, consider buying me a coffee over at