First, Introduction
The PIP is a tool for installing and managing Python packages and is a replacement for Easy_install. Distribute is replaced by Setuptools (Setuptools is no longer maintained) and Pip is Easy_install. PIP installation requires Setuptools or distribute, if you are using python3.x then you can only use distribute because python3.x does not support Setuptools.
Second, the installation
# wget "HTTPS://PYPI.PYTHON.ORG/PACKAGES/SOURCE/P/PIP/PIP-1.5.4.TAR.GZ#MD5=834B2904F92D46AAA333267FB1C922BB"-- No-check-certificate
# TAR-XZVF pip-1.5.4.tar.gz
# cd pip-1.5.4
# python setup.py install
Iii. examples
1 View installed software
# PIP List
2 View installed software details
# pip Show--files somepackage
3) Search Packages
Pip Search "multiprocessing"
4) Download Package
Pip install-d Directory Somepackage
5 Install the software (install a specific version of the package, by using = =, >=, <=,, < To specify a version number)
# pip Install somepackage
# pip install ' markdown<2.0 '
pip install ' markdown>2.0,<2.0.3 '
6 Check which software needs to be updated
# PIP List--outdated
7) Upgrade software
# pip Install--upgrade somepackage
8) Uninstall software
# pip Uninstall Somepackage