1. 安装要用到的软体
sudo apt-get install build-essential pkg-config xserver-xorg-dev linux-headers-`uname -r`
sudo apt-get install libc6-dev
sudo apt-get install libc6-dev
2. 做下备份
sudo cp /etc/default/linux-restricted-modules-common /etc/default/linux-restricted-modules-common.bak
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
3.修改文件linux-restricted-modules-common ,在这句中改为 DISABLED_MODULES="nv nvidia_new"
gksu gedit /etc/default/linux-restricted-modules-common
4.
sudo update-rc.d -f nvidia-kernel remove
5. 删除: /lib/linux-restricted-modules/.nvidia_new_installed
6. alt+ctrl+f3后
sudo /etc/init.d/gdm stop
7. cd 到驱动文件所在目录后,安装驱动,必要时可用tab键
sudo sh NVIDIA-Linux-???-???.??.??-pkg1.run
8.
sudo nvidia-xconfig
9.
sudo reboot