Sudo – Befehl als Root / Admin Ausführen – Raspberry Pi

Wenn man Sudo vor einen Befehl setzt wird dieser mir Root rechten ausgeführt. Dies wird für die meisten Installationen benötigt. In der Regel wird das Benutzerpasswort dabei abgefragt.

Sudo BEFEHL

Beispiele:

APT-Paket Index Aktualisieren:

sudo apt-get update

Hit:1 https://ftp.harukasan.org/raspbian/raspbian bullseye InRelease
Get:2 https://download.docker.com/linux/raspbian bullseye InRelease [26.7 kB]
Get:3 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]
Get:4 http://packages.azlux.fr/debian buster InRelease [3,989 B]
Get:5 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [282 kB]
Get:6 http://packages.azlux.fr/debian buster/main armhf Packages [3,418 B]
Fetched 340 kB in 4s (94.8 kB/s)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
3 packages can be upgraded. Run ‚apt list –upgradable‘ to see them.

Scroll to Top