更新内核后如何下载内核源

更新内核后如何下载内核源

当前运行的内核是 v5.15.0-73,我如何下载 v5.15.0-73 内核源。而不是 k5.4。

我的系统信息:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal
src $ uname -r
5.15.0-73-generic

检查当前可用的内核源 .deb。

src $ dpkg -S /boot/vmlinuz-5.15.0-73-generic
linux-image-5.15.0-73-generic: /boot/vmlinuz-5.15.0-73-generic
tmp $ sudo apt-cache search linux-source
linux-source - Linux kernel source with Ubuntu patches
linux-source-5.4.0 - Linux kernel source for version 5.4.0 with Ubuntu patches
linux-gkeop-source-5.4.0 - Linux kernel source for version 5.4.0 with Ubuntu patches
linux-hwe-5.11-source-5.11.0 - Linux kernel source for version 5.11.0 with Ubuntu patches
linux-hwe-5.13-source-5.13.0 - Linux kernel source for version 5.13.0 with Ubuntu patches
linux-hwe-5.15-source-5.15.0 - Linux kernel source for version 5.15.0 with Ubuntu patches
linux-hwe-5.8-source-5.8.0 - Linux kernel source for version 5.8.0 with Ubuntu patches
linux-intel-5.13-source-5.13.0 - Linux kernel source for version 5.13.0 with Ubuntu patches

相关内容