under which directory can i find the packages installed using yum

2

where do the packages installed using the yum command go ? For example i installed some dependencies using the command :

yum -y install kernel-devel kernel-headers

Where can i find these installed ? (I mean under which directory)

Suhail Gupta

Posted 2012-06-14T07:58:17.927

Reputation: 1 655

Answers

3

If you have yum-utils installed, use

 repoquery -ql kernel-devel

or

 repoquery --list kernel-devel

RedGrittyBrick

Posted 2012-06-14T07:58:17.927

Reputation: 70 632

1

Every package is different. kernel source will go under /lib, some programs under /opt or /usr/local. It depends on your distros defaults and the packager (althought there are standards)

uSlackr

Posted 2012-06-14T07:58:17.927

Reputation: 8 755