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 12-29-2007, 04:56 PM   #1
LQ Newbie
Registered: Nov 2005
Location: Payson, AZ
Distribution: SuSE 10 & Solaris 10 (not Linux but close)
Posts: 2

Rep: Reputation: 0
Where to install progs for all users?

Where (or what directory) do I install a package so that all users can use the program from their home directory? For example, I have an older computer that I run Fedora Core 3 on, and I want to install Sun Java SDK so that any user logged onto the computer can run the Java command in their home directory. Thank you!
Old 12-29-2007, 05:01 PM   #2
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
Simply install the program in question as root and put its location either in $PATH (the executables' path(s) the system should recognise) or put a link in /usr/bin. But as far as Java's concerned, installing it as root does the whole job already.

Old 12-30-2007, 12:09 AM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You can install java in /opt or /usr/local and then add the directory containing its executables to your path.


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
P2P progs will not install mlaymance Mandriva 4 05-25-2007 02:39 AM
install progs easily on suse 9.1 pro megadsonic Linux - Newbie 3 06-08-2005 04:17 PM
How do I Install this progs....? FireInTheDark Linux - Newbie 3 11-28-2004 09:22 AM
install progs to custom folders/uninstall them AgentDukey Slackware 3 11-08-2004 07:31 AM
install progs. on Mandrake 10 groochy Linux - Software 1 06-29-2004 01:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:17 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