Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I downloaded and installed a .rpm package, and everything went fine, but I don't know where it installed to? Do all packages go to one place by default? How can I fond where it is? I tried "locate" and "whereis", but nada...Thanks in advance.

If your have gnome installed you can use:
gnorpm
this is a gui thing for installing rpms. But it can help you find out more about a rpm.
type gnorpm on the command line.
locate your rpm.
click on query button.
It will then display all info about the rpm, such as /usr/sbin/whatever.
If the above does not work, then do the following:
Most binaries are installed in the following directories:
/bin
/sbin
/usr/bin
/usr/sbin
/usr/local/binGenerally the name of the rpm will be similar to the command used to fire it up.
Like: heroes.3-0.x.rpm, its binary would be,
heroes
But not in all cases.
If you installed the above rpm, you could try:
man heroes
It may give you details on the software.
Or locate command to find a binary:
like:
locate heroes
The above command will display all files with heroes in it, and there location.
hope this helps
jerry

If you do a 'rpm -ql .rpm' it will list all the files (for named file) that are contained within the rpm database on your system - good for tracking down other files

The reason why 'locate' wouldnt have work (first post) is because you need to rebuild the database
$updatedb
$locate whateverThen you would found it.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |