LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2008, 01:13 AM   #1
prabuinet
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
Set environment variable


Hi,

I would like to know how to sent environment variable.
I had given this in the .bashrc
export SBCL_HOME=/home/prabu/lisp/sbcl

this variable is set when i run program from terminal.

but i run a program from kde's Run window this variable is not set . How to solve this.


...Prabu
 
Old 12-07-2008, 01:36 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,036

Rep: Reputation: 96
Add the entry into .profile
Code:
export SBCL_HOME=/home/prabu/lisp/sbcl
Then log out and back into KDE.
 
Old 12-07-2008, 01:44 AM   #3
prabuinet
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks

Quote:
Originally Posted by Disillusionist View Post
Add the entry into .profile
Code:
export SBCL_HOME=/home/prabu/lisp/sbcl
Then log out and back into KDE.
Thank you, It works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set an environment variable royeo Linux - Newbie 1 12-01-2006 01:59 AM
How to set a value of environment variable? ukrainet Linux - Newbie 1 12-28-2004 05:33 AM
Set Environment Variable lloyd_stevens Linux - Software 1 07-30-2003 01:38 PM
how to set CC environment variable mr.moto General 2 12-18-2001 02:02 AM
how do you set the environment variable CC? mr.moto Linux - General 0 12-17-2001 10:17 PM


All times are GMT -5. The time now is 10:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration