QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4076|回复: 2

如何安装kernel-devel的问题

[复制链接]
发表于 2005-6-23 19:31:43 | 显示全部楼层 |阅读模式
我在执行yum install kernel kernel-devel时,出现一下信息

..
..
can not find a valid baseurl for repo: updates-released.


直接执行rpm的文件,但不知执行...i586....还是...i686....

try了...i586....,但安装nvidia显卡时失败,找不到kernel source之类的信息?

我该怎么办?
发表于 2005-6-23 20:58:21 | 显示全部楼层
Check whether you have direcory /usr/src/kernels/linux-2.6.xxxxxxx/.
If have, you can make a link to such direcory as /usr/src/linux because gcc will find header files from here. That command is "ln -sf /usr/src/kernels/linux-2.6.xxxxxxx/ /usr/src/linux".
Then run NVIDIA.xxxxxxxxx.run to install nvidia driver.

Good luck.
回复

使用道具 举报

 楼主| 发表于 2005-6-24 13:59:21 | 显示全部楼层
thanks very much for the reply pal. i've tried the method above, but i still got the problem by some bloody reson i dont know.
well the problem i got is that after i ran the nvidia....run with the kernel path, the driver seems like to be installed, however, after all, a error message have been displayed. shows that the kernel i installed was probably WRONG. as i said i couldnt run the install command "yum install kernel kernel-devel" tho. (dont know why?)i did install the kernel-devel.....i586.. by just clicking the rpm file from the X, which i do believe not quite ringt tho.

so i just want to know how to make the "yum install kernel kernel-devel" works, and is there any thing i need to do before running it??

or is it ok to run the rpm file by just click the icon from the X??

is the i586 the right one?? and by the way, how to uninstall it, coz i wanna install the i686 for a try, but it seems like not avilaible untill the old kernel devel has been removed??

so WHAT SHOULD I DO?!?

PLEASE PLEASE PLEASE help, million thanks.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-27 21:15 , Processed in 0.045438 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表