1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-31 21:15:39 +02:00

emerge: appended sudo before command examples (#14986)

This commit is contained in:
Dainis 2024-11-30 18:44:49 +02:00 committed by GitHub
parent 04fc787d7e
commit 23f3cced4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,27 +6,27 @@
- Synchronize all packages: - Synchronize all packages:
`emerge --sync` `sudo emerge --sync`
- Update all packages, including dependencies: - Update all packages, including dependencies:
`emerge -uDNav @world` `sudo emerge -uDNav @world`
- Resume a failed updated, skipping the failing package: - Resume a failed updated, skipping the failing package:
`emerge --resume --skipfirst` `sudo emerge --resume --skipfirst`
- Install a new package, with confirmation: - Install a new package, with confirmation:
`emerge -av {{package}}` `sudo emerge -av {{package}}`
- Remove a package, with confirmation: - Remove a package, with confirmation:
`emerge -Cav {{package}}` `sudo emerge -Cav {{package}}`
- Remove orphaned packages (that were installed only as dependencies): - Remove orphaned packages (that were installed only as dependencies):
`emerge -avc` `sudo emerge -avc`
- Search the package database for a keyword: - Search the package database for a keyword: