Debian Package Manager Command Summary

For the apt- commands, options can be specified on the command line or set in the configuration file. Boolean options set in the configuration file can be overridden on the command line in a number of different ways, such as --no- opt and - opt =no, where opt is the single-character or full name of the option.

Many of these commands accept the following the common options:

-cfile, --config-file=file

Specify a configuration file to be read after the default configuration file.

-h, --help

Print usage information and exit.

-o, --option

Set a configuration option. Syntax is -o group :: tool = option.

-v, --version

Print version information and exit.

Get Unix in a Nutshell, 4th Edition 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.