Solved

Installing Software Globally

Posted on 2001-09-15
5
186 Views
Last Modified: 2013-12-15
Hi;

I'm just starting out with linux.  I am running Suse 7.2 personal edition.

How can I install new software such that it is accessible by all users from any directory?

For instance anyone can type "perl foo" from any directory and run perl.

I would also like to do some development on my linux box.  I would like to set up a "classpath" variable such that linux will first check for classes, compiled files in whatever directory the user is currently in and then go to a central directory that would server as a "code dump".

Is there a config file somewhere where I can create and set such a variable once and have it be global to everyone, everywhere?

How?

Thanks in advance

Steve
0
Comment
Question by:Steve34
5 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 6485620
software is installed in /opt (complex applications) and/or /usr/local/bin (single programs), usually

To add a special path to all user's PATH environment variable, use the shell start up file, like
    /etc/profile for shell (sh, ksh, bash, etc.)
    /etc/csh.cshrc for csh and tcsh

and modify the PATH variable to your requirements
0
 

Expert Comment

by:modulo
ID: 7498073
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now