How to remove a package without removing dependencies in RHEL

When you remove a package with the command

yum will remove all other packages that are dependent on the package you are removing.

To remove a package without removing its dependency on Red Hat Linux or RHEL based distributions like CentOS, AlmaLinux, Rocky Linux or Oracle Linux, you can run the command

Back to rpm

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.