您的位置:首页 > 职场人生

浅谈程序猿的职业规划,看你如何决定自己的未来吧。

2013-10-13 08:31 706 查看
     You must want to get the source code of some linux program when learning linux programming. eg. when write more command demo, you want the source code of the more already run on you linux system.

    It's quite convenient on Ubuntu to get the source code with command apt-get source. But first, you had got to konw the actual name of the package. dpkg --get-selections  can help a lot, which list all installed package.

    For example, if you want to get the source code of more, you got to kown which package it's in. We can just  google or something else.   

    Now suppose we know the package name is util-linux. We can check it with dpkg --get-selections.Then we just type

 

apt-get source util-linux


      Some files will be downloaded.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: