Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-05-2004, 07:02 PM   #1
LQ Newbie
Registered: Apr 2003
Distribution: Mandrake 9.2
Posts: 26

Rep: Reputation: 15
What directory do I install new programs


As you can guess by the subject line I am pretty new to Linux. I have played around with installing different distros and have used the programs that come with those distros for a couple months. However, I would like to know what is the most common directory to install programs in. I know that it doesn't really matter, at least I don't think it does, but I was wanting to know what the general rule is.

Also, I frequently upgrade to new distros, so I would like to install them in a place that will not get overwritten when I upgrade. Finally, I want it to be accessible to all users on the system.

I hope that someone can help enlighten me in my quest for Linux knowledge!

Old 04-05-2004, 07:11 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
Usually most programs are setup to install to /usr/bin or /usr/local/bin as these are usually by default in all users current path to execute the application.

You can usually change this when installing though. Its always wise to read the INSTALL or README files that come with the application your installing. But the good rule of thumb is to install to those directories. Its just all a matter of preference though. You can install to your users /home directory, but then it requires more work if you want other users to be able to access the application, etc.


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
programs have no access to home directory. SnowSurfAir Linux - Software 4 07-14-2005 12:05 AM
Best directory to install programs? rkthornton Linux - Software 6 02-25-2005 05:55 PM
telling `make install` to install in a specific directory?!? black hole sun Linux - Software 3 02-08-2005 09:18 PM
Install programs to which directory? sonofdbn Slackware 2 03-07-2004 08:58 AM
preventing directory traversal in programs tristan_vdv Linux - Security 4 06-04-2002 04:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:16 AM.

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