DNF, the yum replacement since Fedora 22, also provides a autoremove subcommand which is modeled after apt-get/yum autoremove. Examples: # dnf autoremove which tries to remove all automatically installed and otherwise unused dependency packages - should be pretty much equivalent to apt-get autoremove. # dnf autoremove examplepackage which removes examplepackage and all its automatically installed