2

Is there a simple yum command or some other that indicates where abouts the files belonging to a particular package have been installed?

2 Answers 2

3
rpm -ql packagename 
4
  • I think that does the reverse of what I want. It looks like you give it a file, and it tells you which package it belongs to. Commented Oct 23, 2009 at 3:29
  • Good grief, you're right. Too quick off the keyboard. Commented Oct 23, 2009 at 3:50
  • All fixed now. Sorry 'bout that. Commented Oct 23, 2009 at 3:51
  • yep, that does it :) I wonder why one might want to use the other way that I found. Commented Oct 23, 2009 at 5:26
0

Looks like this is another way of doing it too:

$ rpm -q --filesbypkg packagename

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.