"whereis" will only find files in common executable directories.
"slocate" works better but you have to update the database.
note: the yum cache may be empty because sometimes it gets cleaned up.
Try
cat /etc/yum.conf | grep cachedir=
you get /var/cache/yum (note: not /ver/cache/yum - watch that spelling)
(to find out anything about these commands, type "man <command>")
YUM downloads rpm files and yum headers and sticks them in the cache directory. It looks in the header to see what dependencies are needed and where to get them and then downloads all those rpms etc and so on until all dependencies are resolved.
The rpm files are called "packages".
However - if you want to find where the resulting program was installed ... you need to read the documentation very carefully. The man or info pages, and the faq on the maitainers website.
Usually the "whereis" command will find the program's executable for you. But not always. Sometimes there is a bit of guessworkn involved - what developers find obvious is not always what a particular user will find obvious.
So - perhaps it will suit your purpose better if you just told us what you want to know
for: why do you feel you need to know where the packages are put.
Quote:
[root@localhost ~]# whereis xlc-cell-cmp-1.0-1.i386.rpm
xlc-cell-cmp-1.0-1.i386:
This is what I get. Not what I'm looking for.
|
OK - so what
were you looking for. You found the package you searched for after all.
I take it you are trying to install: x86 cross-hosted development environment for GNU/Linux on the Cell Broadband Engine (CBE).
So you are trying to run a Cell Broadband CPU simulator??