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

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