Obtaining the kernel sources for an Ubuntu release using apt-get

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-unsigned-$(uname -r)

or failing that:

  • apt-get source linux-image-$(uname -r)

Kernel/Action/AptGetTheSource (last edited 2019-05-24 12:35:51 by juliank)