$ apt-get source linux-headers-`uname -r`
Reading package lists... Done
Picking 'linux' as source package instead of 'linux-headers-5.8.0-25-generic'
NOTICE: 'linux' packaging is maintained in the 'Git' version control system at:
git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/groovy
Please use:
git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/groovy
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 182 MB of source archives.
Get:1 http://archive.ubuntu.com/ubuntu groovy/main linux 5.8.0-25.26...
在我的 20.10 测试虚拟机上,我看到以下内容:
所以它说 ubuntu 内核源位于
git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/groovy
.查找来源的其他方法 - 是在https://packages.ubuntu.com上使用搜索并转到
linux-meta
包页面。所以你可以浏览它
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/groovy