Browse Source

apt: add missing sudo to examples

Angelos Orfanakos 8 years ago
parent
commit
80bb512491
1 changed files with 4 additions and 4 deletions
  1. 4 4
      pages/linux/apt.md

+ 4 - 4
pages/linux/apt.md

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