LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where to install progs for all users? (https://www.linuxquestions.org/questions/linux-newbie-8/where-to-install-progs-for-all-users-609865/)

toddlongfellow 12-29-2007 04:56 PM

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!

MoonMind 12-29-2007 05:01 PM

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.

reddazz 12-30-2007 12:09 AM

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


All times are GMT -5. The time now is 04:40 PM.