我正在运行Ubuntu14.04内核3.19.0-39-泛型,并想知道为什么当安装内核源代码时,3.13.0版本的内核源代码实际上会被安装..?!
~# uname -r
3.19.0-39-generic
~# apt-cache search linux-source
linux-source - Linux kernel source with Ubuntu patches
linux-source-3.13.0 - Linux kernel source for version 3.13.0 with Ubuntu patches
~# apt-get install linux-source.(将安装linux源代码-3.13.0).
安装后:
~# ll /usr/src/
total 28
drwxr-xr-x 7 root root 4096 Dec 10 15:12 ./
drwxr-xr-x 10 root root 4096 Aug 5 01:12 ../
drwxr-xr-x 24 root root 4096 Dec 4 12:13 linux-headers-3.19.0-37/
drwxr-xr-x 7 root root 4096 Dec 4 12:13 linux-headers-3.19.0-37-generic/
drwxr-xr-x 24 root root 4096 Dec 7 09:45 linux-headers-3.19.0-39/
drwxr-xr-x 7 root root 4096 Dec 7 09:45 linux-headers-3.19.0-39-generic/
drwxr-xr-x 4 root root 4096 Dec 10 14:55 linux-source-3.13.0/
lrwxrwxrwx 1 root root 47 Nov 30 23:38 linux-source-3.13.0.tar.bz2 -> linux-source-3.13.0/linux-source-3.13.0.tar.bz2我正在深入研究,因为我有臭名昭著的问题,安装NVIDIA内核驱动模块和安装失败,无法找到内核源代码。(我知道只需要头文件,但我已经没有选择了,到处看。)
谢谢
发布于 2015-12-10 21:08:01
要获得linux-source 3.19到Ubuntu14.04,您需要运行
sudo apt-get install linux-source-lts-vivid但是您不需要内核源代码来安装Nvidia驱动程序。标题就够了。
https://askubuntu.com/questions/708288
复制相似问题