LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where do u install any Application? (http://www.linuxquestions.org/questions/linux-newbie-8/where-do-u-install-any-application-324757/)

jared78 05-18-2005 03:04 PM

Where do u install any Application?
 
hye,
Which folder do u generally install aplications?
I have extracted everything(YM,firefox,JRE) all to /root and now it looks cluttered,including a couple of .conf files.
From usablilty/organised approach which is the best place?
Something equivalent to the Windows 'Program Files'...?


thanx for the help,
Jared

Linux.tar.gz 05-18-2005 03:05 PM

/usr/lib/
/usr/local/

ride153 05-18-2005 03:05 PM

i put my apps in /usr/programs

Padma 05-18-2005 03:32 PM

3rd party apps usually go someplace like /usr/local/bin (although this varies a bit by distro).

Virtually *nothing* should go into /root. You aren't running as root, are you? :o

jared78 05-18-2005 11:53 PM

well till now YES... lol
I guess I m still used that mouse clicks where it is installing by default.
Hopefully not anymore..:-)
also,
where are the RPMs installed by default?I mean once we do rpm -vi <rpm name> where to they get installed?

thanks again,
Jared

JrLz 05-19-2005 12:21 AM

I usually put apps in /opt ... and put links in /bin or /usr/bin
for installed ( rpm ) apps, it usually goes to /usr/share

you can easily locate files/directory with 'locate' command
locate firefox
find the paths of files/dirs with name containing firefox

Padma 05-19-2005 11:25 AM

RPMs go wherever the rpm-maker said they should go. ;)

Depending on the app, and your distro, this could be /usr/local, /usr/share, /opt, etc.

If you want to know where a particular app resides, use "locate" or "find" from the command line.

theYinYeti 05-19-2005 11:34 AM

For rpm, this command should give you the answer (example with rpm itself):
Code:

rpm -ql rpm | less
For other programs, see my web site > Computing > Linux > Software / Install.

Yves.

JrLz 05-20-2005 04:22 AM

thx for the rpm -ql rpm


All times are GMT -5. The time now is 07:39 PM.