1
edit
Changes
→Part 3: Getting Ubuntu ready for CUDA Development
export CUDA_HOME=/usr/local/cuda-5.0
export PATH=${CUDA_HOME}/bin:${PATH}
Next, in a terminal, type
'''gedit ~/.bashrc'''
export LD_LIBRARY_PATH=/usr/local/cuda-5.0/lib
'''Note''': If you installed an experimental driver from Ubuntu, you'll need to add it's path to LD_LIBRARY_PATH for libcuda.so. Look for the driver folder under /usr/lib/nvidia-experimental-XXX, where XXX is the driver number (e.g. 310). Thats the path you want. Then the export LD_LIBRARY_PATH line in the profile file becomes