Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to set enviroment variables in redhat

Status
Not open for further replies.

brass

Junior Member level 2
Junior Member level 2
Joined
Nov 29, 2002
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
110
hi,
I install some eda tools which require to set some enviroment variables, such as LM_LICENSE_FILE and CDS_ROOT etc, to the system, however I don't how to do so that i can use it when the system sets up each time.
do I require to write some command to the /etc/bashrc or /etc/profile files?
can someone tell me?
thanks a lot
 

If you work in bash,you can edit the file" ~/.bashrc"!
for example
" export var=abcd "
 

Hi

How does one include directories to search for in the PATH variable
 

In RedHat, I have always added some lines to /etc/profile file. for defining new environment variables such as LM_LICENSE_FILE for example you may add the following line at the end of your profile file:
export LM_LICENSE_FILE=/usr/syn/license.dat
and again, if you want to make a more complete PATH env variable: (example)
export PATH=$PATH:/usr/syn:/home/aaa
this adds two new addresses to your path env variable.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top