What this snippet does
dnf is the Fedora and RHEL equivalent of apt, with rpm as the low-level tool.
Expected output
nginx-1.26.2-1.fc41.x86_64
Why practise typing this
Typing package management code builds muscle memory for the symbols and indentation Linux uses most, which prose-based typing tests never cover. DevType measures your words per minute and accuracy on this snippet and tracks the individual characters you mistype, so later lessons can target them.
More Linux practice
- Installing a packagePackage Management · beginner
- Finding which package owns a filePackage Management · intermediate
- Listing a package's filesPackage Management · intermediate
- remove leaves configuration behindPackage Management · intermediate
- Holding a package versionPackage Management · advanced
- Checking what will be upgradedPackage Management · intermediate