CentOS5.4/RHEL5.4上安装nvidia官方驱动

在CentOS 5.4系统中尝试安装NVIDIA GeForce 9800 GT驱动时遇到错误,提示无法找到运行内核的源树。解决方法包括安装kernel和kernel-devel RPM,切换到非Xen内核启动,然后通过命令行执行安装脚本,最终成功安装驱动。如果出现gcc相关错误,需要通过yum安装gcc。
摘要由CSDN通过智能技术生成

针对的系统是CentOS 5.4 ,

 

显卡型号为:NVIDIA GeForce 9800 GT

 

从http://www.nvidia.cn/Download/index.aspx?lang=cn找到驱动并下载

 

 

安装时一直报类似下面的错:

Using: nvidia-installer ncurses user interface
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> License accepted.
-> Installing NVIDIA driver version 190.53.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
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 and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
installed. If you know the correct kernel source files are installed,
you may specify the kernel source path with t

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值