FreeKB - yum remove (uninstall a package)
Linux Commands - yum remove (uninstall a package)

The yum remove command is used to uninstall a package. In this example, the wget package will be removed.

yum 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]: 

 

Following are commonly used yum commands.

Alternatively, the Ansible yum module can be used to automate the process of managing packages.



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




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




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |