ubantu12.04 64位构建内核源码树

来源:互联网 发布:视频源码 编辑:程序博客网 时间:2024/06/05 06:09
http://www.linuxidc.com/Linux/2011-09/42777.htm


 ubuntu(12.04)下, 命令 ,内核 源代码的获取 20
http://blog.chinaunix.net/uid-18905703-id-3446099.html
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


安装之后,make menuconfig,编译即可,遇到问题都可网上找答案;


0 0
原创粉丝点击