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 @ 2016-05-06 10:49  哪来的查克拉  阅读(2352)  评论(0编辑  收藏  举报