linux上一些命令的源码位置
时间:2007-04-30 来源:hauto
linux下有大量的源代码。这些代码在debian下可以这样获得
1. 找出指定程序所在的包
dpkg -S /bin/ls 这里/bin/ls是你想要获得源码的程序
2.然后再apt-get source coreutils coreutils是第一个命令得到的结果,即包的位置 当然,一旦知道包的位置也可以到debian apt源网站下载 今天在下面这个debian源下载ps源代码 http://ftp.debian.org/debian/pool/main/p/procps/
1. 找出指定程序所在的包
dpkg -S /bin/ls 这里/bin/ls是你想要获得源码的程序
2.然后再apt-get source coreutils coreutils是第一个命令得到的结果,即包的位置 当然,一旦知道包的位置也可以到debian apt源网站下载 今天在下面这个debian源下载ps源代码 http://ftp.debian.org/debian/pool/main/p/procps/
相关阅读 更多 +