有时我们在安装系统后,发现没有安装当前系统的内核源码在/usr/src/kernels目录下,其实我们是少安装了一个rpm包;
当你配置好yum源后:
yum install kernel-devel
[root@docker 4.19.13-300.fc29.x86_64]# pwd
/usr/src/kernels/4.19.13-300.fc29.x86_64
[root@docker 4.19.13-300.fc29.x86_64]# ls
arch certs drivers fs init Kconfig lib mm net scripts sound tools virt
block crypto firmware include ipc kernel Makefile Module.symvers samples security System.map usr vmlinux.id
更多源码网址:https://mirrors.tuna.tsinghua.edu.cn/kernel/
保持更新,转载请注明出处。
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有