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