1) My version of Debian is Wheezy with:
Code: Select all
uname -a
Debian 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3deb7u1 x86_64 GNU/Linux
gcc --version
gcc (Debian 4.7.2-5) 4.7.2
Distribution x86_64 ARM Kernel GCC GLIBC
Ubuntu 13.04 YES YES 3.8.0 4.7.3 2.17
Ubuntu 12.04 YES* YES 3.2.0 4.6 2.15
Which I think that I need to install the Ubuntu 12.04 due to the Kernel version and gcc (at this moment is cuda-repo-ubuntu1204_6.0-37_amd64.deb)
2) Reading the manual about the installations I figure it out that the pre-requisite is to uninstall the NVIDIA driver
Code: Select all
/usr/bin/nvidia-uninstall
I installed the NVIDIA driver using the NVIDIA-Linux-x86_64-331.49.run and due to some incompatibilities I had to
Code: Select all
aptitude purge xserver-xorg-video-nouveau
According to the NVIDIA website there is an incompatibility
Does anyone knows if is there an incompatibility or is there a minimum version of the driver needed ?The package manager installations (RPM/DEB packages) and the stand-alone installer installations (.run file) of the NVIDIA driver are incompatible
3) In case of necessary to uninstall the Driver so far as I understand, as I already purged the nouveau server I will be out of X server, which means that I need to uninstall it from the command line on a Crt+Alt+F1 tty, for instance, am I right?
4) After uninstall I need to
Code: Select all
dpkg -i cuda-repo-<distro>_<version>_<architecture>.deb
Code: Select all
apt-get update
Code: Select all
apt-get install cuda
5) The post installation, assuming that everything gone right, and I have my X server back again, I should add the following to the PATH
Code: Select all
export PATH=/usr/local/cuda-6.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-6.0/lib64:$LD_LIBRARY_PATH
6) Verify the installation...
Did anyone do something similar? I am asking because I am new to Linux and even more to the CUDA and NVIDIA installations, although that I am going to get a lot of pain but I would like to minimize it...
Suggestions are welcome
Regards