Remove Command
Synopsis
dnf5 remove [options] <package-file-spec>|@<group-spec>|@<environment-spec>...
Description
The remove
command in DNF5
is used for removing installed packages, groups or
environments from the system.
If you want to keep the dependencies that were installed together with the given package,
set the clean_requirements_on_remove
configuration option to False
.
Options
--no-autoremove
- Disable removal of dependencies that are no longer used.
--offline
- Store the transaction to be performed offline. See dnf5-offline(8), Offline command.
Examples
dnf5 remove tito
- Remove the
tito
package.
See Also
dnf5-specs(7), Patterns specification