eix
Practical eix cheat sheet covering installation, local/remote database sync, overlay queries, upgradeable package checks, world/profile selection helpers, and power-user flags for auditing USE/KEYWORDS/SLOTS/DEPEND metadata in the Gentoo tree
Install eix
emerge -av app-portage/eix
Print useflags NOT in use
eix --print-all-useflags \
|grep -o "\-.*" \
|grep -v "_" \
|grep -v "+"
Print in percent of all available packages in tree we installed
echo "$((`eix --only-names -I ยด \
|wc -l` * 100 / `eix --only-names \
|wc -l`))% of 100% packages from Gentoo Linux is installed"
List all installed packages
Search for cached package
Create/Sync remote database
Search for custom overlays
Sync Portage Tree
eix > /dev/null 2>&1
if eix_status=$?; then
eix-sync
else
emerge --sync
fi
Print all packages that is installed from custom overlays
eix -c --installed-overlay
List Upgradeable Packages
eix --installed --upgrade | grep -o '\[U].*'
Preview All Packages That Has Been Installed From An Overlay
eix -c --installed-overlay; exit
Dump default values of variables
Print the expanded value of a variable
Print all variable names known to --print
Print all EAPI used in some version
Print all IUSE/REQUIRED_USE used in some version
Print all KEYWORDS used in some version
Print all SLOT strings used in some version
Print all LICENSE strings used in some package
Print all words occurring in some {,R,P}DEPEND
Print all paths of current profile
eix --print-profile-paths
Print all ansi color palettes
Print ansi color palettes for foreground (dark)
Print ansi color palette dark (normal)
Print ansi color palette dark (bright)
Print ansi color palettes for foreground (light)
Print ansi color palette light (normal)
Print ansi color palette light (bright)
Print ansi color palette for background
Match packages installed in several versions
Match duplicated packages
Match packages with duplicated versions
Match packages with a nontrivial slot
Match packages with two different slots
Match packages without best slotted version
- +: settings from LOCAL_PORTAGE_CONFIG=true
- -: settings from LOCAL_PORTAGE_CONFIG=false
Match packages with a stable version
Match packages with a testing or stable version
Match packages with a non-masked version
Match packages with a non-stable installed version
Match packages with a testing installed version
Match packages with a masked installed version
Match packages of world file or @system
Match packages of a world set or @system
Match packages of @world (file, set or @system)
Match packages of world file
Match packages of a world set
Match packages of @selected (world file or set)
Match packages with *.tbz2, *.gpkg.tar, or *.xpak
Match packages with at least NR --binary files
Match packages from nonvirtual overlays
Match packages from virtual overlays
Match packages from overlays
Match packages from OVERLAY
Match packages only in OVERLAY
eix --only-in-overlay OVERLAY
Installed from overlays
eix --installed-overlay Match packages
Packages installed from OVERLAY
eix --installed-from-overlay OVERLAY
Packages with an installed version provided by some overlay
eix --installed-in-some-overlay
Packages with an installed version provided from OVERLAY
eix --installed-in-overlay OVERLAY
Match packages with RESTRICT=fetch
Match packages with RESTRICT=mirror
Match packages with RESTRICT=primaryuri
eix --restrict-primaryuri
Match packages with RESTRICT=binchecks
Match packages with RESTRICT=strip
Match packages with RESTRICT=test
Match packages with RESTRICT=userpriv
Match packages with RESTRICT=installsources
eix --restrict-installsources
Match packages with RESTRICT=bindist
Match packages with RESTRICT=parallel
Match packages with PROPERTIES=interactive
eix --properties-interactive
Match packages with PROPERTIES=live
Match packages with PROPERTIES=virtual
Match packages with PROPERTIES=set
Special
Test non matching
Before other output, print non-matching entries of /etc/portage/package.*
and non-matching names of installed packages; this option is best combined
with -T to clean up /etc/portage/package.*
eix -t --test-non-matching
Don't read unguessable slots of installed packages
Always read slots of installed packages
Always read deps of installed packages
Use another cache-file instead of /var/cache/eix/portage.eix
Use remote cache-file /var/cache/eix/remote.eix
Use remote cache-file /var/cache/eix/remote2.eix