1
0
Fork 0
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:
Angelos Orfanakos 2017-04-17 18:02:14 +03:00 committed by Starbeamrainbowlabs
parent 1516784640
commit 80bb512491

View file

@ -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`