Ubuntu下获取内核源码

参考:


查看当前系统使用的内核版本

apt-cache search linux-source

输出如下:

linux-source - Linux kernel source with Ubuntu patches
linux-source-3.13.0 - Linux kernel source for version 3.13.0 with Ubuntu patches

下载源码:

sudo apt-get install linux-source-3.13.0

下载的源码在目录/usr/src

posted @ 2022-05-01 09:28  dolinux  阅读(352)  评论(0)    收藏  举报