View previous topic :: View next topic |
Author |
Message |
anstan n00b
Joined: 14 May 2005 Posts: 4
|
Posted: Sun May 15, 2005 8:18 am Post subject: 初次用gentoo,问个安装apache的问题 |
|
|
当我用emerge apache mod_php安装apache和php的时候,为什么要装31个东西?
能不能自己选择安装呢? |
|
Back to top |
|
|
akar Bodhisattva
Joined: 03 Dec 2004 Posts: 348 Location: HKSAR,China
|
Posted: Mon May 16, 2005 2:05 am Post subject: |
|
|
可以呀。
在 emerge 前 加 USE="" 控制 你想要安裝的東西。
例如:
Code: | # USE="-imap -xml -zlib -mysql" emerge mod_php |
你就會看到那些 不知怎的被加進來的 包少了。
不過學會用 /etc/portage/package.use, 會是一個更精確的,更好的選擇。 _________________ AKar |
|
Back to top |
|
|
anstan n00b
Joined: 14 May 2005 Posts: 4
|
Posted: Mon May 16, 2005 1:04 pm Post subject: |
|
|
发现这个USE有点难,更本不知道有多少的选项,以前用redhat的时候,编译源代码只要加相应的选项就可以了,现在用这个很不适应阿。 |
|
Back to top |
|
|
tecehux n00b
Joined: 01 Nov 2004 Posts: 46 Location: Germany
|
Posted: Mon May 16, 2005 2:42 pm Post subject: |
|
|
emerge -avt 就可以查看此package可用的选项
比如你从来不用kde,在USE中直接加-kde就可以了,不论你以后再安装什么,都不会再带kde的front了
不是很难,这也正是gentoo的魅力所在 |
|
Back to top |
|
|
anstan n00b
Joined: 14 May 2005 Posts: 4
|
Posted: Mon May 16, 2005 2:59 pm Post subject: |
|
|
我看很多软件的选项里有berkdb,这个是干什么的,可以不选吗?还有我要看各种选项的功能,选项是干什么用的,应该怎么看? |
|
Back to top |
|
|
tecehux n00b
Joined: 01 Nov 2004 Posts: 46 Location: Germany
|
|
Back to top |
|
|
|