dnf5-remove - Man Page
Remove Command
Synopsis
dnf5 remove [options] <package-spec-NF>|@<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
- --installed-from-repo=REPO_ID,...
Filters installed packages by the ID of the repository they were installed from.
- --no-autoremove
Disable removal of dependencies that are no longer used.
- --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). Note that repository ids in the stored transaction are mangled to @stored_transaction(repo_id) this is required because during replaying the stored repositories are recreated and they might collide with already present repositories (this doesn't apply to the special @System repository).
Examples
- dnf5 remove tito
Remove the tito package.
See Also
dnf5-specs(7), Patterns specification
Author
See AUTHORS.md in dnf5 source distribution.
Copyright
Contributors to the dnf5 project.
Referenced By
The man page dnf-remove(8) is an alias of dnf5-remove(8).
Nov 05, 2025 dnf5