Skip to content

Commit 3e4aaf8

Browse files
authored
running: Add 'sudo' to Debian repository commands
1 parent 2964e7e commit 3e4aaf8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

running.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,16 +211,16 @@ These commands require a POSIX compatible shell like `bash`. For other shells li
211211

212212
Cockpit is available in Debian since version 10 (Buster).
213213

214-
1. To get the latest version, we recommend to enable the [backports repository](https://backports.debian.org) (as root):
214+
1. To get the latest version, we recommend to enable the [backports repository](https://backports.debian.org):
215215
```
216216
. /etc/os-release
217217
echo "deb http://deb.debian.org/debian ${VERSION_CODENAME}-backports main" > \
218-
/etc/apt/sources.list.d/backports.list
219-
apt update
218+
sudo tee /etc/apt/sources.list.d/backports.list
219+
sudo apt update
220220
```
221221
2. Install or update the package:
222222
```
223-
apt install -t ${VERSION_CODENAME}-backports cockpit
223+
sudo apt install -t ${VERSION_CODENAME}-backports cockpit
224224
```
225225

226226
{:.note}

0 commit comments

Comments
 (0)