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
Avatar
Benjamin Cane
Principal Engineer, Vice President

Benjamin Cane is Principal Engineer at American Express. He has more than 16 years of experience with roles in both systems and software engineering. He leverages both his systems and software skills to build end-to-end platforms. Platforms, purpose built for performance and resiliency. Benjamin is also the author of Red Hat Enterprise Linux - Troubleshooting Guide (2015, Packt Publishing), and he has published many popular articles on topics such as Linux, Docker, Python, Go and Performance Tuning. Thoughts and Opinions expressed in my articles are my own.

Next
Previous

Related