阅读

Debian8 安装 Nvidia显卡驱动

Debian  2016-07-08 10:12

Version 352.79 (via jessie-backports)

1,Add jessie-backports to your /etc/apt/sources.list, for example:

# jessie-backports
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free

2,Install Linux headers for the kernel you are using. If you are using the 3.16 Linux kernel in Debian Jessie:

# apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')

 Or if you are already using a Linux kernel from jessie-backports:

# apt-get install -t jessie-backports linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')

3,Then we can install the package nvidia-driver.

# apt-get update
# apt-get install -t jessie-backports nvidia-driver

 DKMS will build the nvidia module for your system.

4,Restart your system to enable the nouveau blacklist.


Version 340.96

1,Add "contrib" and "non-free" components to /etc/apt/sources.list, for example:

# Debian 8 "Jessie"
deb http://httpredir.debian.org/debian/ jessie main contrib non-free

2,Update the list of available packages. Install the appropriate linux-headers and kernel module packages:

# aptitude update
#  aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms nvidia-driver nvidia-xconfig

3,Create an Xorg server configuration file.

# nvidia-xconfig

4,Restart your system to enable the nouveau blacklist.



引用:NvidiaGraphicsDrivers