Installing and removing software

Throughout this book, I've had you use the apt-get command multiple times to download and install various packages, so, technically, you've already worked through at least some package management. But we've never had a formal discussion about this command, so in this section we'll go a little more in depth with it.

As you've seen before, we can use apt-get along with the install keyword and then a package name in order to install a new package on your system. For example, the following command will install the openssh-server package:

# apt-get install openssh-server

You can also install multiple packages at a time by separating each with a space, instead of installing each package one at a time. The following example ...

Get Mastering Ubuntu Server now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.