Dnf

From Dave-Wiki
Revision as of 01:17, 20 July 2024 by Dave (talk | contribs) (→‎Install a Non-Default Module)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Packages

Check Installed Version of a Package

 dnf list installed <package_name>

List Available Versions of a Package

 dnf list <package_name> --showduplicates

List Manually-Installed Packages

 dnf history userinstalled

Modules

List All Modules

 dnf module list

Install a Non-Default Module

 dnf module install <package_name>:<version>/<stream>

Example:

 dnf module install nginx:1.16/common