返回列表 發帖

Linux how to reinstall the kernel source code?

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

YH

回復 5# fatfish

Many thanks. My problem has already been fixed.

YH

TOP

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

yum install kernel-devel

TOP

Use package manager to reinstall the kernel source.

TOP

返回列表