pip is a package management system used to install and manage software packages written in Python. It is available for easily managing the python based packages.
Install pip on CentOS / RHEL :
First install the EPEL repo as per your Operating system version and architecture.
For RHEL 7.x and CentOS 7.x (x86_64)
yum install epel-release
For RHEL 6.x and CentOS 6.x (x86_64)
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
For RHEL 6.x and CentOS 6.x (i386)
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
For RHEL 5.x and CentOS 5.x (x86_64)
rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
For RHEL 5.x and CentOS 5.x (i386)
rpm -ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Now install pip with yum command
yum install -y python-pip
Install pip on Debian / Ubuntu :
sudo apt-get update
sudo apt-get install python-pip
Verify The Installation :
pip -V #(version of Pip that is installed)
For installing package with pip command :
sudo pip install python-package-name
Use -help switch along with pip command, to get more options.