Results 1 to 3 of 3
Hi All,
I just helped someone setup their CUDA drivers and in the directions on almost all the forums it said to add this:
PATH=$PATH:/usr/local/cuda/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib
export PATH
export LD_LIBRARY_PATH
...
- 07-14-2009 #1
.bashrc question
Hi All,
I just helped someone setup their CUDA drivers and in the directions on almost all the forums it said to add this:
to the .bashrc file. Doing that was failing as we were seeing errors when trying to run the example files provided by Nvidia. So as a home remedy I instead made a text file in /etc/ld.so.conf.d that included the path /usr/local/cuda/lib and the examples work fine....so questions:PATH=$PATH:/usr/local/cuda/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib
export PATH
export LD_LIBRARY_PATH
what were all those paths for? what is bashrc for? and why is it not working from bashrc?
Thanks all!Bodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 07-14-2009 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
if you have a ".bash_profile" in yr home directory,
bash will use that & never find the ".bashrc"
fix: add the line ". .bashrc" to yr ".bash_profile"
or add to it rather than to ".bashrc"the sun is new every day (heraclitus)
- 07-14-2009 #3
.bashrc is only loaded when you start up a new shell as well, every time you make a change to it you have to source it in any currently running shells


Reply With Quote