LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-12-2004, 01:18 AM   #1
yiang
LQ Newbie
 
Registered: Sep 2004
Location: US, California
Distribution: Fedora Core 2/Redhat 9/knoppix 3.6/Linare 2.0/Mandrake 10.1/Linspire 4.5/SuSE 9.1
Posts: 26

Rep: Reputation: 15
installing applications


Is there is a prefered directory to install linux applications like a 'program files' folder in Windows? I want to try to install some applications and I just want to make sure I'm installing them to the right place.

Thanks in advance.
 
Old 09-12-2004, 01:52 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
You can install anywhere, but /opt or /usr/local are generally used for programs that you install. You will need to place a link to the executable in /usr/bin, so that users can execute the program by just typing its name. "ln -s /full/path/to/executable /usr/bin"
Note that you will need to be root to install programs in these locations.

I hope this helps
--Ian

Last edited by IBall; 09-12-2004 at 01:53 AM.
 
Old 09-12-2004, 01:20 PM   #3
yiang
LQ Newbie
 
Registered: Sep 2004
Location: US, California
Distribution: Fedora Core 2/Redhat 9/knoppix 3.6/Linare 2.0/Mandrake 10.1/Linspire 4.5/SuSE 9.1
Posts: 26

Original Poster
Rep: Reputation: 15
okay ... and thanks for the link tip. I didn't know that.
 
Old 09-12-2004, 02:03 PM   #4
Ebel
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 63

Rep: Reputation: 15
If you are installing from source tarball, ie the file you downloaded ended with .tar.gz, .tar.bz, .tgz or .tbz, then it will install everything in the right place. Mostly /usr or /usr/local. I'm pretty sure RPMs are similar.

The thing about linux programmes (or packages as they are sometimes called), is that one programme is not stored in just one directory, like in windows. Some programmes are spread out a bit. the binary (ie executables) are put in /usr/bin, the libraries (kinda like DLLs) in /usr/lib, etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Applications? /usr/bin/w1zard Linux - Newbie 8 08-26-2005 04:34 AM
Installing Applications StarryNight Linux - Newbie 8 06-25-2005 03:04 AM
installing applications flynnhandley Linux - Software 1 07-01-2004 02:23 PM
Installing applications Diminished7th Linux - Newbie 2 05-01-2004 09:12 PM
help installing applications flynnhandley Linux - Software 3 10-02-2003 05:48 AM


All times are GMT -5. The time now is 10:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration