How to install pip on Ubuntu
In this tutorial, I will show you to install pip on ubuntu.
pip is a package management system used to install and manage software packages written in Python. Many packages can be found in the Python Package Index (PyPI).
Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip (pip3 for Python 3) by default.
pip is a recursive acronym that can stand for either “Pip Installs Packages” or “Pip Installs Python”.
Source: Wikipedia
Requirements
I am using Ubuntu 16.04 for this demo so you must have ubuntu up and running.
Install pip
Now we will install pip using apt. Just execute the following command to install pip.
You might also like: How to install Piwik on centos 7
apt install python-pip
Installing with get-pip.py
Now I will show you how you can install pip with binaries.
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
To check the usage of pip execute the following command
pip -h
To check the version of pip execute the following command
pip -V
To install the package using pip execute the following command
pip install package-name
If you got some issues installing pip please feel free to comment below.
Read Also: How to install Vagrant on Ubuntu 16.04
Read Also: How to install PostgreSQL 11 on Ubuntu