LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-11-2002, 03:59 PM   #1
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Rep: Reputation: 30
default installation location


is there a way for me to set a default installation path for my programs. for example windows usually automatically sends all programs to the Crogramfiles directory, can i do this on linux without having to set special parameters for each app i install?
 
Old 07-11-2002, 04:29 PM   #2
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
The convention is as follows;

/etc = where most configuration files go
/bin = where general user kernel related command binaries go
/sbin = where root only kernel related command binaries go
/usr = where applications go (including some X stuff)
/dev = where the hardware profiles go
/lib = where essential software libraries go
/home = where user accounts go
/var = where variables go
/mnt = where temporary filesystems get mounted (including removeable disks and Windoze partitions).
/root = root's home directory
/tmp = temporary stuff directory
/opt = place for optional system packages

Most RPMs will put their programs some place in /usr. There really isn't a good way to change that.

Some games, like Quake 3 Arena, for example, will allow you to put them where you choose.

If I could offer a bit of advise,...
Stick to where the default installation routines put them. You're opening a pandora's box if you don't, because there is an acceptable convention as to how a Linux distro is structured (with some variations for each distro of course).

Linux isn't like Windoze. It isn't as forgiving about where things go as Windoze is. Partly, this is because it is a multi-user operating system from the get-go.

Last edited by JaseP; 07-11-2002 at 04:33 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
location of default KDE installation folder Dimension User Fedora 7 06-22-2005 06:00 PM
Default installation location of (L)AMP anjanesh Fedora 1 11-13-2004 12:10 PM
Changing the default /tmp location nws_linux Linux - Newbie 6 09-16-2004 10:45 AM
Changing default Mozilla location compassman Linux - Software 2 06-26-2004 03:44 PM
changing default mount location MeanJoshGreen Linux - Hardware 3 12-07-2003 02:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration