-
sudo /etc/init.d/gdm stop
-
Alt+F1 and then input “username”+“password” on main Keyboard
cd /home/tz/abc/driver/
sudo sh NVIDIA-Linux-x86-304.60.run
Accept blablabla… (gcc must be gcc-4.4,check it before step 1 and use gcc --version; sudo apt-get install gcc-4.4 g+±4.4)
finished installtion then input startx into x window
- install toolkit and SDK
sudo sh cuda_5.0.35_linux_32_ubuntu10.04.run
no more install for driver
choose Toolkit and SDK for yes
- sudo gedit ~/.bashrc
input this
export PATH=/usr/local/cuda-5.0/bin:SPACE$PATH (delelte SPACE)
export LD_LIBRARY_PATH=/usr/local/cuda-5.0/lib:SPACE$LD_LIBRARY_PATH (delelte SPACE)
export LD_LIBRARY_PATH=/usr/lib/nvidia-current:SPACE$LD_LIBRARY_PATH (delelte SPACE)
export CUDA_ROOT=/usr/local/cuda-5.0/bin
log out
- cd /home/tz/NVIDIA_CUDA-5.0_Samples/1_Utilities/deviceQuery/ make
tz@tz-dt:~/NVIDIA_CUDA-5.0_Samples/1_Utilities/deviceQuery$ ./deviceQuery
./deviceQuery Starting…
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: “GeForce GT 640”
CUDA Driver Version / Runtime Version 5.0 / 5.0
CUDA Capability Major/Minor version number: 3.0
Total amount of global memory: 2047 MBytes (2146762752 bytes)
( 2) Multiprocessors x (192 )CUDA Cores/MP: 384 CUDA Cores