如何获取ubuntu 12.04的Linux内核源代码
1个回答
推荐于2016-10-06
展开全部
1.命令:
例如:要查看ls命令的源代码
1) whereis ls
ls: /bin/ls /usr/share/man/man1/ls.1.gz
2) sudo dpkg -S /bin/ls
coreutils: /bin/ls
3) sudo apt-get source coreutils
2.内核
1)apt-cache search linux-source
linux-source - Linux kernel source with Ubuntu patches
linux-source-3.2.0 - Linux kernel source for version 3.2.0 with Ubuntu patches
2)sudo apt-get source linux-source-3.2.0
例如:要查看ls命令的源代码
1) whereis ls
ls: /bin/ls /usr/share/man/man1/ls.1.gz
2) sudo dpkg -S /bin/ls
coreutils: /bin/ls
3) sudo apt-get source coreutils
2.内核
1)apt-cache search linux-source
linux-source - Linux kernel source with Ubuntu patches
linux-source-3.2.0 - Linux kernel source for version 3.2.0 with Ubuntu patches
2)sudo apt-get source linux-source-3.2.0
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询