阅读

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


广告

【腾讯云】618云上GO!云服务器限时秒杀,1核2G首年95元!
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。

广告

618优惠礼包限时领取,更有2000元飞天会员礼包等你来拿
上云优惠聚集地,云小站专属代金券可叠加产品折扣使用