Click to See Complete Forum and Search --> : Install - Where does it go?


intech
08-29-2001, 11:47 AM
I am running Red Hat 7 with KDE and when I install a .rpm, I don't know where it is installed? And, how do I open the app after I install it?

Many thanks! :cool:

Silent Bob
08-29-2001, 12:01 PM
What is the app that you have installed?

Usually executables for apps go into /bin or /usr/bin

If it is an app that only root should have in their path, then it could be in /sbin or /usr/sbin

If you know the name of the program, you can run whereis <program name> or locate <program name> at a terminal.

If none of those work you can search for it using find / -name <name + wildcards etc> -print

Hope this helps

[ 29 August 2001: Message edited by: Silent Bob ]

intech
08-29-2001, 12:42 PM
Thanks! /usr/bin is exactly where it is. I installed an ftp client. I have installed other apps on other Linux boxes, but never knew where they where installed to. Mostly have used Linux as a Samba server.

Still not sure how to open the program. Looks like the .rpm just placed the files into /usr/bin and I need to compile.

If it was ready to go, would I navigate to a file in /usr/bin to open the program?

Thanks

posterboy
08-29-2001, 03:09 PM
Generally, the RPM's that install into /usr/bin, have already been compiled. The rpm's that end in "src", are the source code pkgs, that need to be compiled. The .i386 pkgs have been compiled already. Also, /usr/bin is "normally" in a users path, on RedHat and others. Likely, you can just type it's name, and away it will go. Here's another point, maybe of value. rpm -q --filesbypkg (somerpm) will get you a list of everything that pkg installed, and where they went. Many pkgs will need you to pipe this into less, as they install more than a screenful. HTH, Ray