Linux Certification, System Administration, Programming, Networking Books
Where do RPMs install to

I have installed a rpm successfully and now I want to run it. What do i do to run it?
I Have tried typing the name of the rpm packagine into the ternminal with no avail.

-------------------------------------------------------------------

Type this at a command prompt (in a terminal):
# rpm -ql packagename

(replacing packagename with the name of the package you installed)

That command will list the filenames (and their locations) of the installed package.

For example:

filename: igal-1.4-1.noarch.rpm

(installed by "rpm -i igal-1.4-1.noarch.rpm")

# rpm -ql igal
/usr/local/bin/igal
/usr/local/lib/igal
/usr/local/lib/igal/COPYING
/usr/local/lib/igal/ChangeLog
/usr/local/lib/igal/README
/usr/local/lib/igal/THANKS
/usr/local/lib/igal/igal.css
/usr/local/lib/igal/indextemplate.html
/usr/local/lib/igal/slidetemplate.html
/usr/local/lib/igal/tile.png
/usr/local/man/man1/igal.1

# /usr/local/bin/igal

or

# cd /usr/local/bin
# ./igal

(Look for files to execute in "bin" directories, possibly by entering this:

# rpm -ql packagename|grep "bin"

This will help filter out those files.)
 

Enter this for further info on your package:

# rpm -qi packagename

Good luck.

-------------------------------------------------------------------

Whenever I try doing anything you said above it will just say package X is not installed. I have tried including the .i386 and the .rpm at the end but it always says not installed

Any ideas?

-------------------------------------------------------------------

rpm -qa|sort|less
rpm -qa|grep -i part_of_packageName
e.g.,
rpm -qa|grep -i xfree

Quick Links:
Do you have a Linux Question?

Linux Home: Linux System Administration Hints and Tips