码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu下获取相应的内核源码

时间:2014-10-27 19:09:43      阅读:192      评论:0      收藏:0      [点我收藏+]

标签:http   io   ar   sp   on   bs   ad   ef   linux   

一直以为是apt-get install ,apt-get search 也搜索不到相关的包,结果不是。

 

其实是 apt-get source linux-image-$(uname -r)

必须要用source参数。

在运行以上命令之前可以找一下,看看有没有:
apt-cache show linux-image-$(uname -r)  | grep source




reference:
http://askubuntu.com/questions/524218/unable-to-download-the-source-code-of-linux-that-i-am-running
 

ubuntu下获取相应的内核源码

标签:http   io   ar   sp   on   bs   ad   ef   linux   

原文地址:http://www.cnblogs.com/foohack/p/4054658.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!