返回列表 發帖

Linux how to reinstall the kernel source code?

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

YH

Use package manager to reinstall the kernel source.

TOP

yum install kernel-devel

TOP

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

TOP

TOP

回復 5# fatfish

Many thanks. My problem has already been fixed.

YH

TOP

返回列表