Mailinglist Archive: opensuse (4498 mails)

< Previous Next >
Re: [opensuse] Handling Environment Variables
  • From: James Knott <james.knott@xxxxxxxxxx>
  • Date: Sun, 12 Nov 2006 09:00:39 -0500
  • Message-id: <45572907.10507@xxxxxxxxxx>
John wrote:
> SuSE 10.0
>
> 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.
>
> How can I add these two paths permanently for all users?

>From /etc/bash.bashrc

# /etc/bash.bashrc for SuSE Linux
#
# PLEASE DO NOT CHANGE /etc/bash.bashrc There are chances that your changes
# will be lost during system upgrades. Instead use /etc/bash.bashrc.local
# for your local settings, favourite global aliases, VISUAL and EDITOR
# variables, etc ...



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

< Previous Next >
References