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
K.B.Dharun Krishna 2135714193
pages/*, style-guide: update contents, fix Markdown (#10492)
* pages/*, style-guide: update pages, fix Markdown (commit 1)

* Update pages

* style-guide.de: update page

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* pip3: remove search command

* rpm: update path placeholder

Co-authored-by: pixel <pixel+github@chrissx.de>

* Update pages/linux/pkgfile.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: pixel <pixel+github@chrissx.de>
2023-08-26 23:00:06 +05:30

33 lines
728 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}}`
- Remove a package, with confirmation:
`emerge -Cav {{package}}`
- Remove orphaned packages (that were installed only as dependencies):
`emerge -avc`
- Search the package database for a keyword:
`emerge -S {{keyword}}`