1 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.
Your Answer