We know that to query the list of files of an installed RPM package
Rpm-QL xxxxxx
For example:
Rpm-QL gstreamer
If gstreamer is not installed and we do not want to install it, but want to know if it contains the file we want, what should we do ???
Use repoquery, which is only a tool of Yum-utils.
The parameters are the same as those of RPM.
Example:
repoquery -ql gstreamer
/usr/bin/gst-feedback-0.10/usr/bin/gst-inspect-0.10/usr/bin/gst-launch-0.10/usr/bin/gst-typefind-0.10/usr/bin/gst-xmlinspect-0.10/usr/bin/gst-xmllaunch-0.10/usr/lib/gstreamer-0.10/usr/lib/gstreamer-0.10/libgstcoreelements.so/usr/lib/gstreamer-0.10/libgstcoreindexers.so/usr/lib/libgstbase-0.10.so.0/usr/lib/libgstbase-0.10.so.0.16.0/usr/lib/libgstcontroller-0.10.so.0/usr/lib/libgstcontroller-0.10.so.0.16.0/usr/lib/libgstdataprotocol-0.10.so.0/usr/lib/libgstdataprotocol-0.10.so.0.16.0/usr/lib/libgstnet-0.10.so.0/usr/lib/libgstnet-0.10.so.0.16.0/usr/lib/libgstreamer-0.10.so.0/usr/lib/libgstreamer-0.10.so.0.16.0/usr/share/doc/gstreamer-0.10.19/usr/share/doc/gstreamer-0.10.19/AUTHORS/usr/share/doc/gstreamer-0.10.19/COPYING/usr/share/doc/gstreamer-0.10.19/NEWS/usr/share/doc/gstreamer-0.10.19/README/usr/share/doc/gstreamer-0.10.19/RELEASE/usr/share/doc/gstreamer-0.10.19/TODO/usr/share/locale/af/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/az/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/be/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/bg/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/ca/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/cs/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/da/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/de/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/en_GB/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/es/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/fi/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/fr/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/hu/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/it/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/nb/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/nl/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/pl/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/ru/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/rw/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/sk/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/sq/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/sr/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/sv/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/tr/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/uk/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/vi/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/zh_CN/LC_MESSAGES/gstreamer-0.10.mo/usr/share/locale/zh_TW/LC_MESSAGES/gstreamer-0.10.mo/usr/share/man/man1/gst-feedback-0.10.1.gz/usr/share/man/man1/gst-inspect-0.10.1.gz/usr/share/man/man1/gst-launch-0.10.1.gz/usr/share/man/man1/gst-typefind-0.10.1.gz/usr/share/man/man1/gst-xmlinspect-0.10.1.gz/usr/share/man/man1/gst-xmllaunch-0.10.1.gz