在ubuntu下,有时安装软件时 apt-get 里面有个 build-dep参数,上网查了好久都没有找到答案,手册英文写着:
build-dep causes apt-get to install/remove packages in an attempt to satisfy the build dependencies for a source package.
经过理解得出:
build-dep参数是指建立某个要编译软件的环境,可以这样理解:比如我们现在要手工编译apache,那如果想让编译正常通过,你可以事先把编译过程中需要用到的软件包先配置好。
如:
build-dep causes apt-get to install/remove packages in an attempt to satisfy the build dependencies for a source package.
经过理解得出:
build-dep参数是指建立某个要编译软件的环境,可以这样理解:比如我们现在要手工编译apache,那如果想让编译正常通过,你可以事先把编译过程中需要用到的软件包先配置好。
如:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
这样就一目了然了,比Freebsd的port安装还要一目了然,呵呵。
参考原文:http://blog.csdn.net/starflame/article/details/7416311
参考原文:http://blog.csdn.net/starflame/article/details/7416311
注意:
用 build-dep 安装软件时很方便,由于关系包一般都很多.
日后想卸载却又忘记关系包的名字,可以事先做个记录:
apt-get build-dep apache | tee apache-b-d.log
这样就不会忘记了.
日后想卸载却又忘记关系包的名字,可以事先做个记录:
apt-get build-dep apache | tee apache-b-d.log
这样就不会忘记了.
若是没做记录,可以参考下面的一篇问题:
https://answers.launchpad.net/apt/+question/8366
https://answers.launchpad.net/apt/+question/8366
沒有留言:
張貼留言