Download and install Python-pip on Ubuntu. Install Pip on Ubuntu 15.10, Ubuntu 15.04 and Ubuntu 14.04. Python-pip installation commands (Terminal) for Linux Ubuntu Systems.
pip is a package management system used to install and manage software packages written in Python. It is widely belived that pip is a recursive acronym for “Pip Installs Packages” or “Pip Installs Python.”
Please note that pip is included with Python. Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip by default.
Install python-pip on Ubuntu
Before you install pip on Ubuntu, update the system. Open Terminal and run the following commands to install pip on Ubuntu:
sudo apt-get update
sudo apt-get upgrade
apt-get -y install python-pip
Once installed, run the following command to check the version of Pip that has been installed:
pip -V
If you need any help regarding the pip usage you can view the list of helpful commands:
pip --help
How to use pip command
After installing python-pip package, the pip command will be available on system. There are multiple options available with pip command:
To install new python package type:
pip install packageName
To uninstall python package installed by pip type:
$ pip install SomePackage # latest version
$ pip install SomePackage==1.0.4 # specific version
$ pip install 'SomePackage>=1.0.4' # minimum version
To search python package type:
pip search packageName
Method 2: Install pip on Ubuntu
To install pip, securely download get-pip.py. Then run the following (which may require administrator access):
python get-pip.py
If setuptools is not already installed, get-pip.py will install setuptools for you. To upgrade an existing setuptools, run pip install -U setuptools. Additionally, get-pip.py supports using the pip install options and the general options. Below are some examples:
Install from local copies of pip and setuptools:
python get-pip.py --no-index --find-links=/local/copies
Install to the user site:
python get-pip.py --user
Install behind a proxy:
python get-pip.py --proxy="[user:passwd@]proxy.server:port"
Upgrade pip on Linux:
pip install -U pip
Download
pip-7.1.2-py2.py3-none-any.whl (md5, pgp)
Credit
- http://pip.readthedocs.org/en/stable/user_guide/
- http://pip.readthedocs.org/en/stable/quickstart/