Remove Command
Synopsis
dnf5 remove [options] [<spec>...]
Description
The remove
command in DNF5
is used for removing installed packages from the system.
Arguments defined in spec
list are used as <package-file-spec>
.
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