0

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.

caden
asked Sep 25, 2019
1 Answer
0

Using YUM package manager with --noautoremove option, you can remove a single package without its dependencies. Follow these steps:

  1. Open your CentOS terminal.
  2. Run the command: sudo yum remove --noautoremove [package name]
    (Replace [package name] with the actual name of the package you want to remove)
  3. 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.
View More
chocolate
answered Sep 19, 2023
Your Answer
||||
 
100:0