1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/emerge.md
cyqsimon 2d4f0ad33d
linux package managers: add link to ArchWiki Rosetta (#9507)
Affected pages: apt, dnf, dpkg, emerge, pacman, rpm, yum, zypper
2022-12-05 10:57:55 +10:00

33 lines
738 B
Markdown

# emerge
> Gentoo Linux package manager utility.
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
> More information: <https://wiki.gentoo.org/wiki/Portage#emerge>.
- 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}}`