Where to put the assignment of global environment variables
Volker Wysk
post at volker-wysk.de
Tue Sep 13 14:01:08 UTC 2022
Am Dienstag, dem 13.09.2022 um 09:12 -0400 schrieb Peter Teuben:
> Nobody asked, so i will. What did you miss and decided to change the boot
> environment for? Is this something from a 3rd party package that the
> module command could solve? Or even your own written environment.sh that
> users that need it need to source?
I'm not trying to change the "boot environment", it's rather the working
environment. I don't want to modify the boot environment, I just want to add
something. I didn't know about the module command. I've found the package
environment-modules, which seems to be what you mean. I don't need this
package. It's overkill in my case, when I only want to set some PATHs and
copy some files.
What I'm trying to do (and seemingly have achieved), is to seamlessly
integrate the glorious Melbourne Mercury Compiler in my system. I've built
it from the sources and installed it under /usr/local/lib/... This means
that I have to add the binaries directory to the PATH, the man pages
directory to the MANPATH and so on.
I could have installed it locally to my user (me), but I decided that it
looks more like a system wide thing.
Cheers,
V.W.
> On Tue, Sep 13, 2022, 08:44 Volker Wysk <post at volker-wysk.de> wrote:
> > Am Dienstag, dem 13.09.2022 um 13:38 +0100 schrieb Colin Law:
> > > On Tue, 13 Sept 2022 at 11:55, Volker Wysk <post at volker-wysk.de>
> > > wrote:
> > > >
> > > > As I've written, it had no effect putting it in /etc/environment.
> > >
> > > Did you reboot?
> >
> > I'm not sure. Probably not. But I've logged out and back in.
> >
> > Bye
> >
More information about the ubuntu-users
mailing list