[CentOS] how to find...

Peter Kjellström cap at nsc.liu.se
Mon Mar 5 07:27:01 EST 2012


On Sunday 04 March 2012 21.15.03 fred smith wrote:
> I'm trying to find out from which repo I got xiphos and its matching
> sword libraries from, and somehow am not finding it. hints, anyone?
> 
> thanks!

On CentOS-6 you can use yumdb to get real data (saved explicitly when a pkg is 
installed):
 yumdb info pkgname

On CentOS-5 there's no such thing and the only thing you can do is to ask 
"from where would this pkg be installed if I did so now?"

/Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.centos.org/pipermail/centos/attachments/20120305/cf6658fb/attachment.bin 


More information about the CentOS mailing list