root privileges required for apt

Need to use `sudo apt` if not root user. proceeding 2 lines already incorporate `sudo` commands so for consistency these lines should be `sudo` too.
This commit is contained in:
Paul 2021-07-26 19:00:43 +01:00 committed by GitHub
parent 2977823e71
commit a5d8ce4f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -22,8 +22,8 @@ _____
### With APT (recommended)
echo "deb http://packages.azlux.fr/debian/ buster main" | sudo tee /etc/apt/sources.list.d/azlux.list
wget -qO - https://azlux.fr/repo.gpg.key | sudo apt-key add -
apt update
apt install log2ram
sudo apt update
sudo apt install log2ram
### Manually
curl -Lo log2ram.tar.gz https://github.com/azlux/log2ram/archive/master.tar.gz
@ -133,7 +133,7 @@ systemctl status log2ram
(Because sometime we need it)
### With APT
```
apt remove log2ram
sudo apt remove log2ram
```
You can use `--purge` to remove config files as well.