I came across the following Ubuntu script to identify which repository files provide libraries required by an app. Is there a rpm alternative to dpk-query that would allow this to run on CentOS/RH? ldd /bin/zoom | awk '/=>/{print $(NF-1)}' | while read n; do dpk-query -S $n; done | sed 's/^\([^:]\+\):.*$/\1/' | uniq