LinuxCommandLibrary

emerge

emerge

TLDR

Synchronize all packages

$ emerge --sync
copy


Update all packages, including dependencies
$ emerge -uDNav @world
copy


Resume a failed updated, skipping the failing package
$ emerge --resume --skipfirst
copy


Install a new package, with confirmation
$ emerge -av [package]
copy


Remove a package, with confirmation
$ emerge -Cav [package]
copy


Remove orphaned packages (that were installed only as dependencies)
$ emerge -avc
copy


Search the package database for a keyword
$ emerge -S [keyword]
copy

Copied to clipboard