Install and update software with apt and dnf

8 steps · about 1 h 36 min · Beginner

  1. Install, upgrade and remove packages with apt (guide, Debian Administrator's Handbook, 20 min)

    Covers the everyday apt commands and what each one changes.

  2. Search packages and inspect versions with apt-cache (guide, Debian Administrator's Handbook, 10 min)

    Lets you see what is installable and from which source before acting.

  3. Read and edit apt sources entries (reference, Debian, 10 min)

    Explains suites, components and the sources format apt reads.

  4. Add a third-party apt repository with a scoped signing key (guide, Debian, 10 min)

    Shows the safe way to trust an outside repository's key.

  5. Look up apt subcommands in the manual page (reference, Debian, 8 min)

    Is the quick reference for flags like --no-install-recommends.

  6. Manage packages and groups with dnf (guide, Fedora Docs, 15 min)

    Covers install, update, history and undo on Fedora-family systems.

  7. Add or disable dnf repositories (guide, Fedora Docs, 8 min)

    Shows how repo files and config-manager control package sources.

  8. Look up dnf commands, version locks and history (reference, DNF documentation, 15 min)

    Is the full reference once the basics are familiar.