Bootstrap FreeKB - DNF - Delete, Remove or Erase a Package
DNF - Delete, Remove or Erase a Package

Updated:   |  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 Buy Me A Coffee



Comments


Add a Comment


Please enter 9be34c in the box below so that we can be sure you are a human.