Mailinglist Archive: opensuse (4498 mails)

< Previous Next >
Re: [opensuse] Handling Environment Variables
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Sat, 11 Nov 2006 16:52:52 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0611111651080.2062@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Saturday 2006-11-11 at 09:52 -0000, John wrote:

> I've just added a utility to my SuSE installation which was built from scratch
> rather than an RPM. Consequently, it has put itself into the /opt directory.
>
> In order to run this app and read its manual, I need to add the relevant
> directories to PATH and MANPATH respectively, but if I use the 'export'
> command, it only adds them or the current session.

The easiest way is to put locally made/compiled programs under /usr/local.
The normal environment is prepared to use that tree by default.

- --
Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFFVfHVtTMYHG2NR9URAt4lAJ0Vfmj2CplGnbn1L82i8v86qjN7qACfYibB
yhU0dsC8bpB02WKAmajNfew=
=h0uP
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References