caden
asked Sep 25 2019
Answer
Using YUM package manager with --noautoremove option, you can remove a single package without its dependencies. Follow these steps:
- Open your CentOS terminal.
- Run the command: sudo yum remove --noautoremove [package name]
(Replace [package name] with the actual name of the package you want to remove) - Enter the user password.
Also, there is --setopt option that you can use to ignore dependencies. You can look into this articleRemove package without dependencies for a detailed explanation.
chocolate
asked Sep 19 2023
edited Sep 20 2023
How to remove a Single package Without its dependencies on CentOS
Hello,
Is there any possibilty to remove the package alone by excluding its dependencies on centos?How can that be done.