|
发表于 2011-4-20 14:19:45
|
显示全部楼层
其实许多问题是依赖经验的,比如光看文档就可能 不会知道eix这个好用的工具。不幸的是gentoo这个发行版的专有经验比较多。。。
man:
portage,make.conf,emerge,eix,equery
以及知道elogv,euse,euses等工具的用法,应该会降低学习难度。
提醒:
~x86其实并不会比x86麻烦多少,尤其是个人用户(相对的是server用户),放心使用~分支吧。另外,现在的cpu差不多都是64位了吧?~amd64有什么理由不用呢?而且最好不要写成ACCEPT_KEYWORDS="amd64 ~amd64"这种混合形式。只用一个就好。
再贴出extra的信息,可以看到在make.conf里全局加extra会有什么结果:
- drex ~ # euses extra
- app-admin/rsyslog:extras - Add support for the UDP spoofing module (omudpspoof) using net-libs/libnet
- app-arch/cabextract:extra-tools - Install experimental tools: wince_info and wince_rename for examining and processing Windows CE installation cabinet header files; cabinfo for examining the structure of a cab file.
- app-i18n/ibus-table-xingma:extra-phrases - Add extra phrases into builded Engine
- app-text/texlive:extra - Add support for extra TeXLive packages
- app-text/texlive:pdfannotextractor - Add dev-tex/pdfannotextractor support, for extracting annotations from PDF files.
- dev-db/mariadb:extraengine - Add support for alternative storage engines (Archive, CSV, Blackhole, Federated(X), Partition)
- dev-db/mysql:extraengine - Add support for alternative storage engines (Archive, CSV, Blackhole, Federated(X), Partition)
- dev-python/PyFoam:extras - Enable optional dependencies
- dev-vcs/subversion:extras - Install extra scripts (examples, tools, hooks)
- games-board/pasang-emas:extras - Install some extra themes
- games-board/pysolfc:extra-cardsets - Install extra cardsets
- games-puzzle/jag:extras - Install additional graphics
- gnome-extra/gnome-games:artworkextra - Installs extra artwork for various games
- kde-base/kdesdk-misc:extras - Build po2xml and swappo tools
- media-plugins/vdr-xineliboutput:libextractor - Use media-libs/libextract to gather files' metadata in media-player
- net-im/psi:extras - Enables extra non official patches
- net-im/tkabber:extras - Enables extra non official patches
- net-irc/znc:extras - Enable some additional modules
- net-misc/mediatomb:libextractor - Use libextractor to gather files' metadata.
- net-misc/openswan:extra-algorithms - Include additional strong algorithms (Blowfish, Twofish, Serpent and SHA2)
- net-misc/yaydl:soundextract - Extract the soundtracks of the downloaded videos
- sci-mathematics/normaliz:extras - Install sci-mathematics/Macaulay2 and sci-mathematics/singular packages as shipped by upstream
- sci-physics/bullet:extras - Build additional libraries
- sys-cluster/glusterfs:extras - Install extra helper scripts
- sys-fs/loop-aes:extra-ciphers - Enable extra ciphers
- sys-fs/udev:extras - Compile udev-extras requiring external dependencies
- www-apps/bugzilla:extras - Optional Perl modules
- www-apps/ikiwiki:extras - Installs additional modules used by ikiwiki plugins
- www-apps/postfixadmin:extras - Install contributed scripts and plugins
复制代码
extra在每一个包里出现时都是不同的意思。
equery d和equery g 可以分别看一个包的上下游依赖关系,比如:
- drex ~ # equery d texlive-basic
- * These packages depend on texlive-basic:
- app-text/texlive-2010-r2 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-context-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-fontsextra-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-fontsrecommended-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-fontutils-2010-r1 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-formatsextra-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-genericextra-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-genericrecommended-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-htmlxml-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-langcjk-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-langenglish-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-latex-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-luatex-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-metapost-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-pictures-2010-r1 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-plainextra-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-pstricks-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-texinfo-2010 (>=dev-texlive/texlive-basic-2010)
- dev-texlive/texlive-xetex-2010-r1 (>=dev-texlive/texlive-basic-2010)
复制代码- drex ~ # equery g texlive-basic
- * Searching for texlive-basic ...
- * dependency graph for dev-texlive/texlive-basic-2008-r1
- `-- dev-texlive/texlive-basic-2008-r1 amd64
- `-- dev-texlive/texlive-documentation-base-2010 (>=dev-texlive/texlive-documentation-base-2008) ~amd64
- `-- app-text/texlive-core-2010-r1 (>=app-text/texlive-core-2008) ~amd64
- `-- app-arch/lzma-utils-4.32.7 (app-arch/lzma-utils) amd64
- [ dev-texlive/texlive-basic-2008-r1 stats: packages (4), max depth (0) ]
- * dependency graph for dev-texlive/texlive-basic-2009
- `-- dev-texlive/texlive-basic-2009 ~amd64
- `-- dev-texlive/texlive-documentation-base-2010 (>=dev-texlive/texlive-documentation-base-2009) ~amd64
- `-- dev-tex/luatex-0.65.0 (>=dev-tex/luatex-0.45) ~amd64
- `-- app-text/texlive-core-2010-r1 (>=app-text/texlive-core-2009) ~amd64
- [ dev-texlive/texlive-basic-2009 stats: packages (4), max depth (0) ]
- * dependency graph for dev-texlive/texlive-basic-2010
- `-- dev-texlive/texlive-basic-2010 ~amd64
- `-- dev-texlive/texlive-documentation-base-2010 (>=dev-texlive/texlive-documentation-base-2010) ~amd64
- `-- dev-tex/luatex-0.65.0 (>=dev-tex/luatex-0.45) ~amd64
- [ dev-texlive/texlive-basic-2010 stats: packages (3), max depth (0) ]
复制代码 |
|