rpm: Finding dependencies

Ever want to remove a package but needed to know what requires that package before going through dependency hell?

# rpm -q --whatrequires kernel  
prelink-0.3.0-13  
tcpdump-3.7.2-7.1  
iptables-1.2.9-1.0  
nfs-utils-1.0.6-1

About Benjamin

Benjamin is a Infrastructure and Software Engineer. On this blog he writes about Linux, Docker, Programming as well as other Systems topics.

Learn more about Linux

If you liked this article, check out Benjamin's book: Red Hat Enterprise Linux Troubleshooting Guide. Where you can learn a lot more about troubleshooting Linux systems. This book is filled with tips and techniques he has learned over years of managing mission critical systems.

Related