Start by opening the yum.conf file with a text editor of your choice: vi /etc/yum. ![]() To remove a package and erase all the unneeded dependencies use the following command: yum autoremove Īlternatively, you can alter the yum configuration file to automatically remove package dependencies when deleting a package with the yum remove or yum erase commands. Still, there are instances in which these dependencies have to be removed manually. In most cases, deleting software from the local package manager will also erase its dependencies (unless other programs require them). When installing software, it will automatically download and store the required dependencies. Become a Red Hat partner and get support in building customer solutions. Read developer tutorials and download Red Hat software for cloud application development. Get product support and knowledge from the open source experts. Package dependencies are binaries, libraries, and modules on which software rely on. Learn about our open source products, services, and company. How to Remove Packages with Dependencies Using Yum ![]() Note: Only root users and users added to the sudousers group have permission to install and remove packages in CentOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |