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

Getting ready

In this section, we're only going to run a couple of commands on our VMs, in order to look at the output.

Jump into your Debian 9 box and ensure Pip is installed and up to date:

$ vagrant ssh debian9$ sudo apt install gcc python3-dev python3-setuptools -y$ sudo easy_install3 pip$ pip --versionpip 18.1 from /usr/local/lib/python3.5/dist-packages/pip-18.1-py3.5.egg/pip (python 3.5)

Now, jump into our Ubuntu box and install pip by using apt:

$ sudo apt update$ sudo apt install python3-pip -y

Check the version, as follows:

$ pip3 --versionpip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

Then, upgrade it (only on the Ubuntu box), as follows:

$ pip3 install pip --upgrade

Log out (an important step) and check the version ...

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