yum反查某个命令或so库在哪个包里面

yum whatprovides "*/XXX.so.1"
原文地址:https://www.cnblogs.com/imzye/p/8244348.html