1. 程式人生 > >下載Ubuntn 17.04 內核源代碼

下載Ubuntn 17.04 內核源代碼

tex eric sof server1 gen inline ubun important bz2

[email protected]:/usr/src$ uname -a
Linux server1 4.10.0-19-generic #21-Ubuntu SMP Thu Apr 6 17:04:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

查找源代碼:

[email protected]:/usr/src$ sudo apt-cache search linux-source
linux-source - Linux kernel source with Ubuntu patches
linux-source-4.10.0 - Linux kernel source for version 4.10.0 with Ubuntu patches

下載源代碼

[email protected]:/usr/src$ sudo apt-get install linux-source-4.10.0

解壓源代碼

cd /usr/src

sudo tar -jvxf linux-source-4.10.0.tar.bz2

下載Ubuntn 17.04 內核源代碼