Gentoo搭遗

3045 ワード

app-portage/gentoolkitのインストール
パッケージにインストールされているファイルのリストをクエリーし、ファイルタイプをフィルタできます.
equey files [--filter=doc] 

 
Emerge-cの後、revdep-rebuildを実行して潜在的な依存破損を修復します.
 
グローバルUSEフラグの意味は/usr/portage/profiles/useに書きます.descファイル
ローカルUSEフラグの意味は/usr/portage/profiles/useに書きます.local.descで
 
パッケージがインストールされているUSEの詳細を確認します.
user $equery --nocolor uses =gnumeric-1.12.31

[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for app-office/gnumeric-1.12.31:
 U I
 + + introspection            : Add support for GObject based introspection
 - - libgda                   : Enable database support through gnome-extra/libgda.
 - - perl                     : Enable perl plugin loader.
 + + python                   : Enable python plugin loader.
 + + python_targets_python2_7 : Build with Python 2.7

 
/etc/env.d:/etc/env.d/99local, , /etc/profile, 。 :env-update && source /etc/profileなどのカスタム のファイルを する
 
パッケージの なコンパイルパラメータをカスタマイズ:/etc/portage/envパスの にコンパイルパラメータを き むファイルを します.ファイル は です. に、/etc/portage/package.envファイルでパッケージのカスタムコンパイルフラグのファイル を します. は のとおりです.
# FILE /etc/portage/env/debug-cflagsSpecific variables for debugging
CFLAGS="-O2 -ggdb -pipe"
FEATURES="${FEATURES} nostrip"


# FILE /etc/portage/package.envUsing debug-cflags for the mplayer package
media-video/mplayer debug-cflags

 
どのパケットが しているかを い わせる
qdepends -Q 

 
...