Ubuntu Environment Variables

new topic     » topic index » view thread      » older message » newer message

I thought I'd let everyone know about this if they don't already know.
If you're trying to setup Euphoria on an Ubuntu system, there is a
non-standard way to set environment variables.

Typically, you can add your environment variables to your
~/.bash_profile (for local user) or /etc/profile (for all users), but
these files are either not executed, or overridden by Ubuntu's gdm
setup. My research led me to the /etc/environment file, but this is
not interpreted, so you can't set things like PATH=$PATH where a
variable needs to be expanded. So much for setting
PATH=$EUDIR/bin:$PATH.

I finally came across /etc/X11/Xsession.d/55gnome-session_gnomerc in a
thread post. I set my variables in the top of the file like this, and
it worked:

EUDIR=/usr/local/euphoria
EUINC=$EUDIR/include
PATH=$EUDIR/bin:$PATH

export EUDIR EUINC PATH

HTH,
~Greg

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu