linux安装nvidia显卡出错,Linux 下Nvidia 显卡安装错误

Linux 下Nvidia 显卡安装错误

发布时间:2009-12-22 10:20:49来源:红联作者:javahome

-> No precompiled kernel interface was found to match your kernel; would you li

ke the installer to attempt to download a kernel interface for your kernel f

rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)

-> No matching precompiled kernel interface was found on the NVIDIA ftp site;

this means that the installer will need to compile a kernel interface for

your kernel.

ERROR: Unable to find the kernel source tree for the currently running kernel.

Please make sure you have installed the kernel source files for your

kernel; on Red Hat Linux systems, for example, be sure you have the

'kernel-source' rpm installed. If you know the correct kernel source

files are installed, you may specify the kernel source path with the

'--kernel-source-path' commandline option.

ERROR: Installation has failed. Please see the file

'/var/log/nvidia-installer.log' for details. You may find suggestions

on fixing installation problems in the README available on the Linux

driver download page at www.nvidia.com.

[attach]28750[/attach]

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
您好!安装NVIDIA驱动的步骤如下: 1. 首先,您需要确定您的型号和适用的驱动版本。您可以在NVIDIA官方网站上查找并下载正确的驱动程序。 2. 在安装之前,您需要确保系统已经更新到最新的状态。可以通过运行以下命令来更新软件包: ``` sudo apt update sudo apt upgrade ``` 3. 下载驱动程序后,您需要在终端中运行以下命令以停止图形界面: ``` sudo service lightdm stop ``` 4. 然后,切换到命令行界面。按下`Ctrl + Alt + F3`(或其他F键),以进入一个新的TTY终端界面。 5. 在TTY终端界面上,使用`cd`命令进入到下载驱动程序的目录。 6. 接下来,运行以下命令给驱动程序文件添加可执行权限: ``` chmod +x NVIDIA-Linux-x86_64-xxx.xx.run ``` (请将“NVIDIA-Linux-x86_64-xxx.xx.run”替换为您下载的驱动程序文件名) 7. 运行以下命令以安装驱动程序: ``` sudo ./NVIDIA-Linux-x86_64-xxx.xx.run ``` (同样,请将“NVIDIA-Linux-x86_64-xxx.xx.run”替换为您下载的驱动程序文件名) 8. 在安装过程中,您可能需要回答一些问题或接受许可协议。请根据提示进行操作。 9. 驱动程序安装完成后,您可以运行以下命令以重新启动系统: ``` sudo reboot ``` 10. 系统重启后,您的NVIDIA驱动程序应该已经成功安装。您可以通过运行以下命令来验证: ``` nvidia-smi ``` 希望以上步骤能够帮助您成功安装NVIDIA驱动!如有任何问题,请随时向我提问。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值