dnf5-autoremove - Man Page

Autoremove Command

Synopsis

dnf5 autoremove

Description

The autoremove command in DNF5 is used for removing unneeded packages from the system.

Unneeded packages are all "leaf" packages that were originally installed as dependencies of user-installed packages, but which are no longer required by any such package.

Installonly packages (e.g. kernels) are never automatically removed by this command even if they were installed as dependencies.

Options

--offline
Store the transaction to be performed offline. See offline command, dnf5-offline(8).
--store=PATH
Store the current transaction in a directory at the specified PATH instead of running it.
The stored transaction can be performed by the replay command, dnf5-replay(8).

Author

See AUTHORS.md in dnf5 source distribution.

Referenced By

dnf5(8).

The man page dnf-autoremove(8) is an alias of dnf5-autoremove(8).

Sep 02, 2025 dnf5