$ apt-cache search linux-source
linux-source - Linux kernel source with Ubuntu patches
linux-source-3.2.0 - Linux kernel source for version 3.2.0 with Ubuntu patches
$ sudo apt-get source linux-source-xxx
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
选择 linux 作为源代码包而非 linux-source-3.2.0
提示:linux 的打包工作被维护于以下位置的 Git 版本控制系统中:
http://kernel.ubuntu.com/git-repos/ubuntu/ubuntu-precise.git
需要下载 103 MB 的源代码包。
获取:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main linux 3.2.0-57.87 (dsc) [14.8 kB]
获取:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main linux 3.2.0-57.87 (tar) [98.6 MB]