Bootstrap FreeKB - YUM - Display files installed by a package (repoquery)
YUM - Display files installed by a package (repoquery)

Updated:   |  YUM articles

The repoquery command can be used to display the files that are installed by a package. You will first need to install the yum-utils package because the repoquery command is part of yum-utils.

yum install yum-utils

 

In this example, the files installed by the mod_http2 package are listed.

~]# repoquery --list mod_http2
Last metadata expiration check: 1:39:09 ago on Wed 18 Aug 2021 11:14:46 PM CDT.
/etc/httpd/conf.modules.d/10-h2.conf
/etc/httpd/conf.modules.d/10-proxy_h2.conf
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/5b68de44f5d6020ebd146a40d529f240c14a95
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/8b8c1cbc4ff9f46205e9a3c84abd76163c11e6
/usr/lib64/httpd/modules/mod_http2.so
/usr/lib64/httpd/modules/mod_proxy_http2.so
/usr/share/doc/mod_http2
/usr/share/doc/mod_http2/AUTHORS
/usr/share/doc/mod_http2/ChangeLog
/usr/share/doc/mod_http2/README.md
/usr/share/licenses/mod_http2
/usr/share/licenses/mod_http2/LICENSE
/etc/httpd/conf.modules.d/10-h2.conf
/etc/httpd/conf.modules.d/10-proxy_h2.conf
/usr/lib/.build-id
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/f447bb924556b4f032736d3db8eb43f73b6832
/usr/lib/.build-id/df
/usr/lib/.build-id/df/01123a9fa55cfceac0dd4005b456db5ba0d402
/usr/lib64/httpd/modules/mod_http2.so
/usr/lib64/httpd/modules/mod_proxy_http2.so
/usr/share/doc/mod_http2
/usr/share/doc/mod_http2/AUTHORS
/usr/share/doc/mod_http2/ChangeLog
/usr/share/doc/mod_http2/README.md
/usr/share/licenses/mod_http2
/usr/share/licenses/mod_http2/LICENSE

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 350021 in the box below so that we can be sure you are a human.