Luc*_*nzo 6 source ubuntu kernel
I need a specific kernel version to compile it with some additional modules.
When I typing:
uname -r
Run Code Online (Sandbox Code Playgroud)
I get
3.8.0-29-generic
Run Code Online (Sandbox Code Playgroud)
I need this one.
uname -a
Linux "..." 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
Where can I find this version? Here https://www.kernel.org/ seems that there isn't..
You could just use apt to get the source,
check that the file /etc/apt/sources.list contains a line starting with
deb-src
Run Code Online (Sandbox Code Playgroud)
and then use the command:
apt-get update
#if you want to download the source into the current directory use:
apt-get source linux-image-$(uname -r)
#if you want the source to be installed in the system directory use:
apt-get install linux-source-$(uname -r)
Run Code Online (Sandbox Code Playgroud)
It will download the source in the folder:
/usr/src or /usr/sources
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7426 次 |
| 最近记录: |