Very Basic Question

Matthew Miller mattdm at mattdm.org
Mon Nov 27 16:52:45 UTC 2006


On Mon, Nov 27, 2006 at 10:50:49AM -0600, Michael Satterwhite wrote:
> This is something I consider a weakness of almost every distribution's
> package manager. Periodically, I need to know where a package was put
> when it was installed. In this case, I'm looking for ysql-connector-java
> - but the more important question is "how do I ask yum / rpm / ??? where
> it installed package A". I've looked at the man, but the only command
> that seemed like it *MIGHT* work was yum info ... and it told me
> everything except what I needed to know.

rpm -ql packagename


To look at an uninstalled package, do "rpm -qlp packagefile.rpm". (Or, just
view it in less and scroll down -- magic.)


-- 
Matthew Miller           mattdm at mattdm.org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>




More information about the users mailing list