ubuntu 下载内核源代码

1. 网上大多数用命令 sudo apt-get install linux-source,下载安装后,发现下载下来的源码版本与当前正使用的版本不一致;

2. 参考 https://wiki.ubuntu.com/Kernel/SourceCode

  The literal source code which generated a specific binary package may be obtained using the apt-get source <package> command. For example to obtain the source for the currently running kernel you can use the command below:

  • apt-get source linux-image-$(uname -r)
posted @ 2013-08-15 16:51  Melvin.Yang  阅读(1175)  评论(0编辑  收藏  举报