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 08-30-2004, 08:32 PM   #1
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156

Rep: Reputation: 30
program files dir equal

Where in linux is the equal to the program files dir in windows? I am installing things like firefox, and want all users to be able to access it. What do you suggest I do?
Old 08-30-2004, 08:41 PM   #2
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Your distro probably puts the "standard" stuff in /usr/bin. Typically packages that you install yourself go into /usr/local/bin. You can put your software whereever you like. All you need to do is edit the user's PATH to include the location.
Old 08-31-2004, 02:43 AM   #3
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
You should put firefox & any other programs that you install in the same directory (For consistency). Most people use /usr/local, or /opt.

You will need to create symbolic links to the executables in /usr/bin, so that all users can run them. For example "ln -s /opt/firefox/firefox /usr/bin".

If you want to install programs for just a user, it must be installed in that users home directory, I use /home/ian/prog for this.

I hope this helps


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
group files by strings in dir Melsync Programming 7 12-17-2005 12:53 PM
Strange files in temp dir stefaandk Linux - General 4 11-24-2005 04:24 PM
files in /boot dir djgerbavore Slackware 5 02-15-2005 10:29 AM
un tar all files in dir Longinus Linux - Newbie 6 03-18-2004 12:33 AM
Making a program load from any dir boyblitz Linux - Newbie 4 10-09-2003 10:38 AM

All times are GMT -5. The time now is 12:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration