Groups > SUSE Linux > openSUSE applications > Re: how to export path variable in opensuse




how to export path variable in opensuse

how to export path variable in opensuse
Sun, 16 Mar 2008 15:26:01 GMT
hi friends, pls tell me how to export path variable in opensuse..I
opened /.bash_profile or /.bashrc in vi mode but then what to do ...pls
help me in this regards


-- 
ab25
------------------------------------------------------------------------
ab25's Profile: http://forums.novell.com/member.php?userid=10474
View this thread: http://forums.novell.com/showthread.php?t=316184
Post Reply
Re: how to export path variable in opensuse
Sun, 16 Mar 2008 19:53:11 GMT
ab25 wrote:
> hi friends, pls tell me how to export path variable in opensuse..I
> opened /.bash_profile or /.bashrc in vi mode but then what to do ...pls
> help me in this regards
> 
> 

export PATH=$PATH:/usr/local/bin:/usr/whatever/bin

Post Reply
Re: how to export path variable in opensuse
Mon, 17 Mar 2008 13:05:49 GMT
ab25 wrote:

> hi friends, pls tell me how to export path variable in opensuse..I
> opened /.bash_profile or /.bashrc in vi mode but then what to do ...pls
> help me in this regards

If you want to do that because you installed a program in a whacky place
(you know, like Windows people do) I can tell you that adapting the PATH is
not the proper way to do that.

So. What is the real problem?

-- 
Post Reply
Re: how to export path variable in opensuse
Sun, 30 Mar 2008 12:06:01 GMT
export PATH=$PATH:/usr/local/bin:/usr/whatever/bin

put that in ~/.bashrc


-- 
kholloi
------------------------------------------------------------------------
kholloi's Profile: http://forums.novell.com/member.php?userid=12224
View this thread: http://forums.novell.com/showthread.php?t=316184
Post Reply
about | contact