Query Installed Files from Package and Package for Installed File in Fedora

By: Zhiqiang Ma In: Linux

How to query installed files from a package and query which package one installed file is in will be introduced.

Query installed files from a package

$ rpm -ql package_name

Query which package a installed file is in

$ rpm -qf /full/path/to/installed/file
Author: Zhiqiang Ma Posted on: Apr 28, 2010 Views: 103
Tags: , , ,
Like this post? Subscribe full-text feeds from all Fclose.com blogs:
Add your comments, share your thoughts

Be nice. Keep it clean. Stay on topic. No spam.