Pip is a tool for managing Python packages. Using a package manager allows for efficient management of your server. This tutorial explains how to install Pip on various Linux distros.
This applies to Ubuntu versions:
Update your repository list to make sure the installation will complete successfully:
# apt-get update
After you have updated the repository list, you can install Pip using
# apt-get install python-pip
Now confirm Pip has been installed successfully by executing
pip -v on the command line. If you see a version printed on the screen, the installation was successful.
Update your repository list with
We can now install Pip:
yum -y install python-pip
Check your version by executing
pip -v. If this returns a version, Pip has successfully been installed.