Using Remote Repositories

Downloading packages before installing them gets tiresome especially when you forget a dependency and have to go back and download more packages. The Debian project made apt—the Advanced Package Tool—to help out. APT is a series of tools that build on dpkg to add more features. The two utilities that are important for the exam are apt-get and apt-cache.

Installing Remote Packages

The apt-get utility is responsible for most remote software installation operations. Every apt-get invocation is followed by a command that indicates what to do. Use the install command to install a package, as shown in Example 3-2.

Example ...

Get CompTIA® Linux+ / LPIC-1 Cert Guide: (Exams LX0-103 & LX0-104/101-400 & 102-400) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.