DNF - Delete, Remove or Erase a Package
by
Jeremy Canfield |
Updated: August 15 2021
| DNF articles
The dnf remove command is used to uninstall a package. In this example, the wget package will be removed.
~]# dnf remove wget
. . .
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package wget.x86_64 0:1.14-18.el7_6.1 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================================================================================================================
Removing:
wget x86_64 1.14-18.el7_6.1 @base 2.0 M
Transaction Summary
=================================================================================================================================================================================================================================
Remove 1 Package
Installed size: 2.0 M
Is this ok [y/N]:
Did you find this article helpful?
If so, consider buying me a coffee over at