LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-29-2007, 05:56 PM   #1
toddlongfellow
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, 06:01 PM   #2
MoonMind
Member
 
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.

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

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


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


All times are GMT -5. The time now is 10:11 AM.

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