dnf
DNF = DaNdiFied YUM, YUM = Yellowdog Updater, Modified.
DNF performs package management tasks on top of RPM, and supporting libraries.Â
dnf clean all
dnf clean dbcache
dnf clean expire-cache
dnf clean metadata
dnf clean packages
dnf clean plugins
To list files provided by a package...
dnf repoquery --installed -l package
Modules
Modules
dnf module list
dnf module list --enabled
dnf module list --disabled
dnf module list --installed
dnf module disable mysql
dnf module enable mysql
List all modules (same as dnf module list --all)
List only enabled modules
List only disabled modules
List only installed modules
Disable mysql module
Enable mysql module
Bibliography & References
Bibliography & References
https://en.wikipedia.org/wiki/DNF_(software)https://dnf.readthedocs.io/en/latest/index.htmlhttps://dnf.readthedocs.io/en/latest/command_ref.htmlhttps://www.reddit.com/r/Fedora/comments/4fbpic/what_does_dnf_clean_all_do/https://www.percona.com/blog/2020/01/02/how-to-create-your-own-repositories-for-packages/https://fedoraproject.org/wiki/QA:Testcase_Modularity_module_listhttps://fedoraproject.org/wiki/QA:Testcase_Modularity_enable-disable_modulehttps://dnf.readthedocs.io/en/latest/command_ref.htmlhttps://linuxhint.com/rpm-list-files-in-package/https://access.redhat.com/discussions/4867681