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: - Update list of packages and versions available. This should be run before running further apt commands:
`apt update` `sudo apt update`
- Search for packages: - Search for packages:
@@ -16,12 +16,12 @@
- Install a new package: - Install a new package:
`apt install {{package}}` `sudo apt install {{package}}`
- Remove a package (using "purge" instead also removes its configuration files): - 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: - Upgrade installed packages to the newest available versions:
`apt upgrade` `sudo apt upgrade`