1. Pip Install software
[[Email protected] ~]$ pip install somepackage[...] Successfully installed Somepackage
Parameters:
--upgrade Upgrade a Package
2. Pip Show view installed software (matplotlib as an example)
[Email protected] ~]$ PIP show matplotlib---metadata-version:1.1name:matplotlibversion:1.4.3summary:python plotting Packagehome-page:http://matplotlib.orgauthor:john D. Hunter, Michael droettboomauthor-email: [Email protected] License:bsdlocation:/usr/local/lib/python3.4/site-packagesrequires:numpy, six, Python-dateutil, Pytz, pyparsing, Nose, nose
Parameters:
--files List file addresses
3. PIP List lists existing software
[[Email protected] ~]$ pip listmatplotlib (1.4.3) nose (1.3.7) numpy (1.9.2) [...] Name (Version)
Parameters:
--outdated software that needs to be updated
4. Pip Uninstall uninstalling a software
[[Email protected] ~] Pip Uninstall somepackageuninstalling somepackage:/my/env/lib/pythonx.x/site-packages/ Somepackageproceed (y/n)? ysuccessfully uninstalled Somepackage
5. Pip--help Help
[[email protected] ~] pip--helpusage:pip <command> [options]commands:install install P Ackages. Uninstall Uninstall packages. Freeze Output installed packages in requirements format. List List installed packages. Show show information about installed packages. Search Search PyPI for packages. Wheel Build wheels from your requirements. Help Show Help for commands. General Options:-H,--help Show help. --isolated Run pip in an isolated mode, ignoring environment variables and u Ser configuration. -V,--verbose Give more output. Option is additive, and can are used up to 3 times. -V,--version Show version and exit. -Q,--quiet Give less output. --log <PATH> Path to a verbose appending log. --proxy <proxy> Specify a proxy in the form [USER:[EMAIL&NBSP;PROTECTED]]PR Oxy.server:port. --retries <retries> Maximum Number of retries each connection should attempt (d Efault 5 times). --timeout <sec> Set The socket timeout (default seconds). --exists-action <action> Default Action when a path already exists: (s) witch, (i) Gno Re, (W) Ipe, (b) ackup. --trusted-host
Reference: Pip installation steps and usage in Linux
Linux Package management tool PIP usage explained