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

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: