tldr/pages/linux/emerge.md

32 lines
563 B
Markdown
Raw Normal View History

2014-02-27 14:03:21 +00:00
# emerge
> Gentoo Linux package manager utility.
2014-02-27 14:03:21 +00:00
- Synchronize all packages:
2014-02-27 14:03:21 +00:00
`emerge --sync`
- Update all packages, including dependencies:
2014-02-27 14:03:21 +00:00
`emerge -uDNav @world`
- Resume a failed updated, skipping the failing package:
2014-02-27 14:03:21 +00:00
`emerge --resume --skipfirst`
- Install a new package, with confirmation:
2014-02-27 14:03:21 +00:00
`emerge -av {{package-name}}`
- Remove a package, with confirmation:
2014-02-27 14:03:21 +00:00
`emerge -Cav {{package-name}}`
- Remove orphaned packages (that were installed only as dependencies):
2014-02-27 14:03:21 +00:00
`emerge -avc`
- Search the package database for a keyword:
2014-02-27 14:03:21 +00:00
`emerge -S {{keyword}}`