Board logo

標題: Linux how to reinstall the kernel source code? [打印本頁]

作者: 角色    時間: 2011-10-22 18:35     標題: Linux how to reinstall the kernel source code?

I removed the kernel source accidentally, is there any way to reinstall it?

YH
作者: Qnewbie    時間: 2011-10-22 19:23

Use package manager to reinstall the kernel source.
作者: ckleea    時間: 2011-10-22 20:44

yum install kernel-devel
作者: 角色    時間: 2011-10-22 22:25

I have already put the kernels in /usr/src back using many command but I did not check which command can make /usr/src/kernels appear again.

YH
作者: fatfish    時間: 2011-10-22 22:28

看看这个页面
http://wiki.centos.org/HowTos/I_need_the_Kernel_Source
作者: 角色    時間: 2011-10-23 00:26

回復 5# fatfish

Many thanks. My problem has already been fixed.

YH




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2