Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

how to set enviroment variables in redhat

Status
Not open for further replies.

brass

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
 

cnz

Member level 5
Joined
Dec 10, 2001
Messages
93
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
617
If you work in bash,you can edit the file" ~/.bashrc"!
for example
" export var=abcd "
 

asterix91

Member level 5
Joined
Sep 13, 2002
Messages
86
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
616
Hi

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

mami_hacky

Full Member level 6
Joined
Mar 28, 2002
Messages
337
Helped
18
Reputation
36
Reaction score
11
Trophy points
1,298
Location
Some where
Activity points
3,428
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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top