Root configuration

I installed binary version root 4.00/4 on my RedHat 9. But everytime I want to start a root session, I have to configure my path and lib path:

export ROOTSYS=/home/jerry/root4p0
export PATH=$PATH:$ROOTSYS/bin

Can I put these command into some system file so linux can do this for me everytime I open a terminal session?


Yes, it depends which shell you are using. For example if you use ksh you can put these instructions in your ~/.profile file.

I made it.