Yum uninstall dependencies




















You can use your favorite command line editor to open it for editing as shown. A value of one indicates that the directive is enabled or turned on , a zero means otherwise. This extension removes any unused dependencies that were added in by an installation package, but would not be removed automatically. It also helps you to keep a system clean of unused libraries and packages.

First install this extension on your system using following yum command. Once you have installed the extension, each time you want to remove a package, add the --remove-leaves flag, for example. Just like you can install all the packages under the same group, you can also uninstall them. It includes packages like gcc, automake, cmake, git, etc. Just like installing a group, yum offers a way of uninstalling a group as well.

Alternatively, use this command. It does the same job but the command structure is different. Uninstalling packages on yum is quite simple. All it requires is the name of the target package and root privilege. Happy computing! In case you need to delete a package but are unsure of its exact file name, you can use one of the following two commands:. As you can see in the image below, httpd appears in the following packages and dependencies :.

After you have the exact name of the package you want to erase, you can uninstall it from your CentOS system. For more options on listing packages on CentOS read our detailed tutorial. After reading this tutorial, you should now know how to remove packages and dependencies to free up space taken up by redundant programs.

Introduction Uncesscerary packages slow down system performance and take up storage space. Was this article helpful? Sofija Simic. Notes Suppose an installed package A requires packages B, C and D, and D is the only required by some other packages as well. Earlier versions of yum used a plugin called yum-plugin-remove-with-leaves, which could have been installed via repositories and used as follows: yum remove —remove-leaves package.

Note, that this plugin is reportedly said to cause issues. When a package is installed using yum localinstall, I believe, the result of the yum autoremove is unpredictable.

At least, the were rumors, that it may give errors. Leave a Reply Cancel reply Your email address will not be published. Recent Comments Vadim said If I understand you correctly, you want to add som Drew said I want to do a mail merge and put a person in the Vadim said Forgot to mention one more important option for yo



0コメント

  • 1000 / 1000