1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 21:17:56 +01:00
tldr/pages/linux/emerge.md

32 lines
555 B
Markdown
Raw Normal View History

2014-02-27 15:03:21 +01:00
# emerge
> Gentoo Linux package manager utility
- synchronize all packages
`emerge --sync`
- update all packages, including dependencies
`emerge -uDNav @world`
- resume a failed updated, skipping the failing package
`emerge --resume --skipfirst`
- install a new package, with confirmation
`emerge -av {{package-name}}`
- remove a package, with confirmation
`emerge -Cav {{package-name}}`
- remove orphaned packages (that were installed only as dependencies)
`emerge -avc`
- search the package database for a keyword
`emerge -S {{keyword}}`