MOTD ⚙ CHAPTERS 01 / 05
TODAY'S QUIZ0 / 5 STREAK0 days POINTS0 THE OPERATOROpen

$man 8 apt

Ten things the page says. Every one of them is on your machine right now — run the command above and check.

  1. 01

    apt provides a high-level commandline interface for the package management system.[man]

  2. 02

    It is intended as an end user interface and enables some options better suited for interactive usage by default compared to more specialized APT tools like apt-get(8) and apt-cache(8).[man]

  3. 03

    Much like apt itself, its manpage is intended as an end user interface and as such only mentions the most used commands and options partly to not duplicate information in multiple places and partly to avoid overwhelming readers with a cornucopia of options and details.[man]

  4. 04

    update (apt-get(8)) update is used to download package information from all configured sources.[man]

  5. 05

    Other commands operate on this data to e.g. perform package upgrades or search in and display details about all packages available for installation.[man]

  6. 06

    upgrade (apt-get(8)) upgrade is used to install available upgrades of all packages currently installed on the system from the sources configured via sources.list(5).[man]

  7. 07

    New packages will be installed if required to satisfy dependencies, but existing packages will never be removed.[man]

  8. 08

    If an upgrade for a package requires the removal of an installed package the upgrade for this package isn't performed.[man]

  9. 09

    When a package is supplied as an argument, the package will be installed prior to the upgrade action.[man]

  10. 10

    full-upgrade (apt-get(8)) full-upgrade performs the function of upgrade but will remove currently installed packages if this is needed to upgrade the system as a whole.[man]

$run --yourself

Query packages without changing anything

Every command here is read-only. Knowing which package owns a file is the fastest way to understand a system you inherited.

~
$ apt list --installed 2>/dev/null | wc -l
$ apt-cache policy bash
$ apt-cache show bash | head -8
$ dpkg -S $(command -v bash)

WHAT YOU SHOULD SEEA count of installed packages, the installed and candidate versions of bash, its metadata, and the package that owns the bash binary.

$quiz -n 5

Five questions, each one taking a term out of a line above. Ten points for each. Tap hear it to have a question read to you; answering plays the verdict.

QUESTION 1 OF 5

Which term completes this line from the page? “apt provides a high-level _____ interface for the package management system.”

From point 1 above.

QUESTION 2 OF 5

Which term completes this line from the page? “Much like apt itself, its manpage is intended as an end user interface and as such only mentions the most used commands and options partly to not duplicate information in multiple places and partly to avoid _____ readers with a cornucopia of options and details.”

From point 3 above.

QUESTION 3 OF 5

Which term completes this line from the page? “Other commands operate on this data to e.g. perform package upgrades or search in and display details about all packages available for _____.”

From point 5 above.

QUESTION 4 OF 5

Which term completes this line from the page? “New packages will be installed if required to satisfy _____, but existing packages will never be removed.”

From point 7 above.

QUESTION 5 OF 5

Which term completes this line from the page? “When a package is _____ as an argument, the package will be installed prior to the upgrade action.”

From point 9 above.

Answer all five to bank your points.

$play --chapters 5

Five chapters, three voices. Tap one to jump — the player at the bottom of the screen follows.

download the full edition

$tee --everyone

Know someone with ten minutes and a terminal? Send them today's page. This is the card that appears when you post it:

Share card for apt(8): command-line interface
2026-10-15 · 1200×630

$su - operator

The Operator has a dispatch on apt(8), and he files them for subscribers only. It is free. Join the club, or read about the series.

MOTD is a weekday reading of one manual page already installed on your own machine. Every statement is quoted from that page or from the GNU info documentation beside it, and every edition names the command that shows you the source.

archive · the operator · about · podcast · Feline Union

NARRATION · 3 VOICES · 01
Last login