红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Debian

Debian能不能直接用apt安装Nvidia显卡驱动?

发布时间:2010-01-19 15:22:32来源:红联作者:绿色圣光
俺在Debian里的显卡驱动一直是下载官方驱动,手动安装的。可是在Fedora里都是用yum安装的。今天突然想到,Debian应该也可以用apt安装Nvidia显卡驱动的吧?可是google了一下,貌似可以,但没有找到具体的资料。不知道有哪位高人可以指点一下?
文章评论

共有 7 条评论

  1. thorne 于 2010-01-19 21:37:00发表:

    [i=s] 本帖最后由 thorne 于 2010-1-19 21:38 编辑 [/i]

    7# 绿色圣光


    The Debian way....

  2. 绿色圣光 于 2010-01-19 21:35:04发表:

    引用:
    我就是apt安装的
    2.安装nvidia驱动
    遵照如下的步骤:

    Step 1: Preparing your package sources
    ===================
    Step 2: Ensure your kernel is the right version.
    i386: Athlon, P ...
    thorne 发表于 2010-1-19 21:15

    谢谢,改天试试……

  3. thorne 于 2010-01-19 21:15:28发表:

    [i=s] 本帖最后由 thorne 于 2010-1-19 21:30 编辑 [/i]

    我就是apt安装的
    2.安装nvidia驱动
    遵照如下的步骤:

    Step 1: Preparing your package sources
    ===================
    Step 2: Ensure your kernel is the right version.
    i386: Athlon, Pentium Pro, P2, P3, P4, etc.[code]apt-get install linux-image-2.6.26-686[/code]=====================
    Step 3: Installing needed packages for building the nvidia kernel module.
    Install a few packages needed:[code]apt-get install nvidia-kernel-common module-assistant[/code]If you are running a debian kernel do this:[code]m-a -i -t prepare[/code]If you built your own kernel, just make sure you know where the source for it is located so you can pass the location to m-a.[code]apt-get install nvidia-glx nvidia-glx-dev nvidia-kernel-moudle[/code]==================================
    Step 4: Building and installing the nvidia kernel module
    Build the kernel module package:[code]m-a clean,a-i -i -t -f nvidia-kernel-source[/code][code]depmod -a[/code]or if using your own kernel build:[code]m-a clean,a-i -i -t -f -k /usr/src/kernelsourcepath nvidia-kernel-source[/code][code]depmod -a[/code]Where /usr/src/kernelsourcepath is the location of your kernelsource
    ====================================
    Step 5: Installing and configuring the nvidia glx X driver
    Install the last few packages:[code]apt-get install nvidia-glx nvidia-glx-dev nvidia-xconfig xserver-xorg[/code]Step 6: Final setup[code]nvidia-xconfig
    nvidia-settings[/code]我是参考网络上某人的 N卡 7300GT

    http://www.debianhelp.co.uk/nvidia.htm

  4. 绿色圣光 于 2010-01-19 20:14:59发表:

    引用:
    那是~~!
    aqq5220 发表于 2010-1-19 16:53

    看到Debian的源里倒是有好几个nvidia开头的软件包,只不过不知道应该安装哪几个。lenny版源里的nvidia(驱动?)还是173.14.09版本的。我手动安装的已经是190.53的了……

  5. aqq5220 于 2010-01-19 16:53:40发表:

    那是~~!

  6. 绿色圣光 于 2010-01-19 16:05:32发表:

    关键是手动安装显卡驱动,每次内核升级后,总要重新安装。有点烦~

  7. aqq5220 于 2010-01-19 16:02:13发表:

    ubuntu有debian估计也有吧!不过我还是喜欢最新的驱动~~!