Sample Header Ad - 728x90

How to remove all installed dependent packages while removing a package in CentOS 7?

14 votes
2 answers
64662 views
I am using CentOS 7. I installed okular, which is a PDF viewer, with the command: sudo yum install okular As you can see in the picture below, it installed 37 dependent packages to install okular. installed dependencies But I wasn't satisfied with the features of the application and I decided to remove it. The problem is that if I remove it with the command: sudo yum autoremove okular It only removes four dependent packages. removed packages with autoremove And if I remove it with the command: sudo yum remove okular It removes only one package which is okular.x86_64. Now, my question is that is there a way to remove all 37 installed packages with a command or do I have to remove all of them one by one?
Asked by ukll (452 rep)
Aug 16, 2016, 03:26 PM
Last activity: Jan 6, 2024, 02:35 PM