Reference: https://pip.pypa.io/en/stable/installing/
For Centos:12wget https://bootstrap.pypa.io/get-pip.pypython get-pip.py
For Ubuntu:
use the same commands as for Centos, or use the following commad:1sudo apt-get install python-pip
Verify The Installation:
View a list of helpful commands:1pip --help
Check the version of Pip that is installed:1pip -V
Which should yield something similar to:1pip 8.1.1 from /usr/lib/python2.7/dist-packages (python 2.7)