Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
初次用gentoo,问个安装apache的问题
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
anstan
n00b
n00b


Joined: 14 May 2005
Posts: 4

PostPosted: Sun May 15, 2005 8:18 am    Post subject: 初次用gentoo,问个安装apache的问题 Reply with quote

当我用emerge apache mod_php安装apache和php的时候,为什么要装31个东西?
能不能自己选择安装呢?
Back to top
View user's profile Send private message
akar
Bodhisattva
Bodhisattva


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Mon May 16, 2005 2:05 am    Post subject: Reply with quote

可以呀。

在 emerge 前 加 USE="" 控制 你想要安裝的東西。

例如:

Code:
# USE="-imap -xml -zlib -mysql" emerge mod_php


你就會看到那些 不知怎的被加進來的 包少了。


:idea: 不過學會用 /etc/portage/package.use, 會是一個更精確的,更好的選擇。
_________________
AKar
Back to top
View user's profile Send private message
anstan
n00b
n00b


Joined: 14 May 2005
Posts: 4

PostPosted: Mon May 16, 2005 1:04 pm    Post subject: Reply with quote

发现这个USE有点难,更本不知道有多少的选项,以前用redhat的时候,编译源代码只要加相应的选项就可以了,现在用这个很不适应阿。
Back to top
View user's profile Send private message
tecehux
n00b
n00b


Joined: 01 Nov 2004
Posts: 46
Location: Germany

PostPosted: Mon May 16, 2005 2:42 pm    Post subject: Reply with quote

emerge -avt 就可以查看此package可用的选项
比如你从来不用kde,在USE中直接加-kde就可以了,不论你以后再安装什么,都不会再带kde的front了:twisted:
不是很难,这也正是gentoo的魅力所在
Back to top
View user's profile Send private message
anstan
n00b
n00b


Joined: 14 May 2005
Posts: 4

PostPosted: Mon May 16, 2005 2:59 pm    Post subject: Reply with quote

我看很多软件的选项里有berkdb,这个是干什么的,可以不选吗?还有我要看各种选项的功能,选项是干什么用的,应该怎么看?
Back to top
View user's profile Send private message
tecehux
n00b
n00b


Joined: 01 Nov 2004
Posts: 46
Location: Germany

PostPosted: Mon May 16, 2005 4:40 pm    Post subject: Reply with quote

cat /usr/portage/profiles/use.desc
http://www.gentoo-portage.com/USE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum