how to check what files an rpm installed

James Marcinek jmarc1 at jemconsult.biz
Tue Mar 27 17:34:01 UTC 2007


rpm -ql ocfs-tools-1.2.3-1 (you might not need the 1.2.3-1)

rpm -q ocfs-tools-1.2.3-1 --whatprovides

rpm -qc ocfs-tools-1.2.3-1 -> shows config files 

There are other options (like the -qc) that can be used but I cannot think of the exact syntax right now.

----- Original Message -----
From: "Dave Martini 1" <martini1 at llnl.gov>
To: "General Red Hat Linux discussion list" <redhat-list at redhat.com>
Sent: Tuesday, March 27, 2007 1:36:30 PM (GMT-0500) Auto-Detected
Subject: how to check what files an rpm installed

I installed this package

ocfs2-tools-1.2.3-1

How do I find out what files were installed onto my system and what 
locations that relate to
this package?

I tried a

# rpm --list ocfs2-tools-1.2.3-1

but got syntax errors.

Thank You.
Dave Martini
LLNL

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list