Show Menu
Cheatography

portage Cheat Sheet (DRAFT) by

emerge, ebuild commands

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 "­bes­t" 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 <pk­g>
what USE flags are available
 

emerge

all updates
emerge [-a|-p] -uDN world
uninstall w/o depend­encies
emerge -C cat/pkg
uninstall and remove depend­encies
emerge -cav cat/pkg
install specific version
emerge =cat/p­kg-1.0
revdeps
equery d cat/pkg
which pkg provides cmd
equery b
which cmd
pkg info
eix cat/pkg
search portage pkg names
emerge -s <qu­ery>
search portage pkg names + descri­ptions
emerge -S <qu­ery>
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