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