LinuxQuestions.org
Visit Jeremy's Blog.
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 06-08-2011, 01:43 PM   #1
linuxandtsm
Member
 
Registered: May 2011
Posts: 191

Rep: Reputation: Disabled
HOW TO: installed programs available to all users


Hi all,

where (path) usually the programs (packages) are installed in linux.
How to make installed programs available to all users of the system ?
Thanks in advance
 
Old 06-08-2011, 01:51 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Do you have a particular program you're having a problem with?

Otherwise, if this is a homework problem, you can check out The Linux Documentation Project or the RUTE user manual (google for it) and one of those should explain a lot about how program installation works.
 
Old 06-08-2011, 01:57 PM   #3
linuxandtsm
Member
 
Registered: May 2011
Posts: 191

Original Poster
Rep: Reputation: Disabled
Hi pljvaldez,

for example if i install any computational program like Matlab then where i should install it so that all users can use it.
All i know is users environment copied from /etc/skel directory.
So i am wondering what should be edited to make program available to all users.
BTW this is not a homework problem. I am trying on my own system.
Thanks in advance!
 
Old 06-08-2011, 01:59 PM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 78
Generically, user programs that come with the distro are installed in /bin, /usr/bin, or /usr/X11/bin.

Applications that are built from source or that are not packaged with the distro typically get installed in /usr/local/bin. Typically, there is some type of README or INSTALL document that explains where the application will get installed by default unless you customize the installation.

Some applications add their own file location to the PATH variable.

From a command terminal window, you can type echo $PATH and it will show what path that user has set.
 
Old 06-08-2011, 02:01 PM   #5
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: SLED, openSUSE
Posts: 1,009

Rep: Reputation: 171Reputation: 171
If you run the Matlab installer as root then it will install itself somewhere that all users can use it and set up symbolic links for you in one of usr/bin or /usr/local/bin (I forget which) so that all users have the relevant executables in their $PATH. It won't put a suitable .desktop file in the filesystem so that Matlab appears in GNOME/KDE/Whatever menus though. Other installers may differ.
 
  


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
[SOLVED] Where do installed programs go? runbux Linux - Newbie 12 09-15-2010 11:42 AM
Programs installed with package manager aren't recognised by other programs fraserm Linux - Software 3 04-21-2007 12:38 PM
where is the programs installed ? _GOGO_ Linux - Newbie 5 10-09-2006 03:45 PM
Programs installed??? Tuul Linux - Newbie 4 10-27-2004 03:02 PM
How to get newly installed programs in programs list Brosky Linux - Software 5 02-06-2004 03:45 PM


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

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