O'Reilly logo

Mastering Ubuntu Server by Jay LaCroix

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required