Click to See Complete Forum and Search --> : permenantly setting env vars in rh7


Forrest Briggs
03-17-2001, 05:48 PM
im trying to install qt2.3
part of the installation says to put some stuff:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

export QTDIR PATH MANPATH LD_LIBRARY_PATH

into the files .login or .profile in the home directory. i did this (created a symlink from profile to login) then restarted kde. i did an echo on $QTDIR and got /usr/lib/qt-2.2.4, which means it didnt work!

how do i permenantly set environment variables? (this one and others)

bdg1983
03-17-2001, 05:53 PM
You could try it in the system profile /etc/profile.

Forrest Briggs
03-17-2001, 06:43 PM
nope, that doesnt work. probably something sets qtdir to something else after that is run.