sudo apt-get update
sudo apt-get install binutils gcc make automake vim git autoconf libtool g++ g++-4.6 gawk lib32z1 gfortran freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev
sudo ln -s /usr/lib/x86_64-linx-gnu/libGLU.so.1.3.1 /usr/lib//ibGLU.so
sudo gedit /etc/modprobe.d/blacklist.conf
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
sudo update-initramfs -u
lsmod | grep nouveau
chmod +x cuda_3*
chmod +x cuda_7*
sudo /etc/init.d/lightdm stop
sudo apt-get install binutils gcc make automake vim git autoconf libtool g++ g++-4.6 gawk lib32z1 gfortran freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev
sudo ln -s /usr/lib/x86_64-linx-gnu/libGLU.so.1.3.1 /usr/lib//ibGLU.so
sudo gedit /etc/modprobe.d/blacklist.conf
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
sudo update-initramfs -u
lsmod | grep nouveau
chmod +x cuda_3*
chmod +x cuda_7*
sudo /etc/init.d/lightdm stop