Install and update software with apt and dnf
8 steps · about 1 h 36 min · Beginner
- Install, upgrade and remove packages with apt (guide, Debian Administrator's Handbook, 20 min)
Covers the everyday apt commands and what each one changes.
- 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.
- Read and edit apt sources entries (reference, Debian, 10 min)
Explains suites, components and the sources format apt reads.
- 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.
- Look up apt subcommands in the manual page (reference, Debian, 8 min)
Is the quick reference for flags like --no-install-recommends.
- Manage packages and groups with dnf (guide, Fedora Docs, 15 min)
Covers install, update, history and undo on Fedora-family systems.
- Add or disable dnf repositories (guide, Fedora Docs, 8 min)
Shows how repo files and config-manager control package sources.
- Look up dnf commands, version locks and history (reference, DNF documentation, 15 min)
Is the full reference once the basics are familiar.