Chapter 13: Software management
dnf and rpm quiz
Ten questions across the whole chapter. Each answer explains why. Aim for eight before moving on to chapter 14.
- Which command lists the files a package installed?
- Which command tells you which installed package owns a file?
- Which command shows what changed in a file compared to its package?
- dnf install httpd — what comes after the dependency list?
- Which command undoes the last dnf transaction?
- What does gpgcheck=1 protect against?
- How do you create a repository from a directory of .rpm files?
- How do you prove that a package came from your repository?
- What does dnf module reset nginx do?
- Which command lists available updates without installing them?