mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
apt: add missing sudo to examples
This commit is contained in:
parent
1516784640
commit
80bb512491
1 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
- Update list of packages and versions available. This should be run before running further apt commands:
|
||||
|
||||
`apt update`
|
||||
`sudo apt update`
|
||||
|
||||
- Search for packages:
|
||||
|
||||
|
@ -16,12 +16,12 @@
|
|||
|
||||
- Install a new package:
|
||||
|
||||
`apt install {{package}}`
|
||||
`sudo apt install {{package}}`
|
||||
|
||||
- Remove a package (using "purge" instead also removes its configuration files):
|
||||
|
||||
`apt remove {{package}}`
|
||||
`sudo apt remove {{package}}`
|
||||
|
||||
- Upgrade installed packages to the newest available versions:
|
||||
|
||||
`apt upgrade`
|
||||
`sudo apt upgrade`
|
||||
|
|
Loading…
Add table
Reference in a new issue