I noticed while removing httpd package that dependencies installed all not removed along with that
# yum remove httpd
How can i remove a package and dependencies which were installed along with that without affecting other services, like if some dependencies are being used by other services