Pip is a tool for installing and managing Python packages.
Python is a programming language. It is quite popular and has a design philosophy that emphasizes code readability. It is widely considered to be a very easy programming language to learn and master because of its focus on readability. Python is open source, and will run a a multitude of platforms including, but not limited to: Various Linux/UNIX distributions (CentOS, Ubuntu, Fedora, Debian, etc.), Microsoft Windows, and Mac OS X.
- These instructions are intended specifically for installing Pip, a tool for installing and managing Python packages.
- I’ll be working from a Liquid Web Core Managed Ubuntu 12.04 LTS server, and I’ll be logged in as root.
As a matter of best practice we’ll update our packages:
Then let’s install python-pip and any required packages:
apt-get -y install python-pip
And skip to Step 2.
We can also use curl and python to download and install Pip.
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
View a list of helpful commands:
Check the version of Pip that is installed:
For earlier versions of pip you may need to use:
Depending on which installation method you used, the version command should yield something similar to:
Or similar to: