Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

Pip

Starting with Pip, you can check which version you're running with the --version argument:

$ pip3 --versionpip 18.1 from /usr/local/lib/python3.6/dist-packages/pip-18.1-py3.6.egg/pip (python 3.6)

You can list which packages you have installed (and their versions) with list, as follows:

$ pip3 listPackage             Version  ------------------- ---------asn1crypto          0.24.0   attrs               17.4.0   Automat             0.6.0    blinker             1.4      certifi             2018.1.18chardet             3.0.4    click               6.7      cloud-init          18.3     colorama            0.3.7 

You can search for the package that you want; here, I'm checking for Ansible:

$ pip3 search ansibleovirt-ansible (0.3.2) - oVirt Ansible utilitypolemarch-ansible (1.0.5) - Wrapper for Ansible cli.kapellmeister-ansible (0.1.0) - Ansible Playbook manager.ansible-alicloud (1.5.0) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content