This is a draft cheat sheet. It is a work in progress and is not finished yet.
ebuild --pretend flags
N |
new |
U |
update |
D |
downgrade (to "best" version) |
R |
replacing (same version) |
B |
blocked |
S |
slot (side-by-side) install |
USE flags
euse -i FLAG |
describe flag |
equery hasuse FLAG |
what pkgs have FLAG option |
equery uses <pkg> |
what USE flags are available |
|
|
emerge
all updates |
emerge [-a|-p] -uDN world |
uninstall w/o dependencies |
emerge -C cat/pkg |
uninstall and remove dependencies |
emerge -cav cat/pkg |
install specific version |
emerge =cat/pkg-1.0 |
revdeps |
equery d cat/pkg |
which pkg provides cmd |
|
pkg info |
eix cat/pkg |
search portage pkg names |
emerge -s <query> |
search portage pkg names + descriptions |
emerge -S <query> |
list all files in pkg |
equery files pkg |
refresh pkg list |
layman -f |
search local pkgs |
eix -S |
list all pkgs w/ vsns |
eix -l |
list all pkgs compact |
eix -c |
|