Skip to content

Instantly share code, notes, and snippets.

@liyang85
Last active June 13, 2017 07:15
Show Gist options
  • Save liyang85/cc4e5d390e8e4570935a349abff7947f to your computer and use it in GitHub Desktop.
Save liyang85/cc4e5d390e8e4570935a349abff7947f to your computer and use it in GitHub Desktop.
How to Install Pip on CentOS 7
# copy from https://www.liquidweb.com/kb/how-to-install-pip-on-centos-7/
# First, we’ll install the EPEL repository
yum install epel-release
# As a matter of best practice we’ll update our packages:
yum -y update
yum -y install python-pip
# Check the version of Pip that is installed:
# Which should yield something similar to:
# pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7)
pip -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment