Debian: Change `apt-get` to `apt`

This commit is contained in:
Eric Lippmann 2023-03-29 11:12:36 +02:00 committed by GitHub
parent a8e4fd1582
commit ea133bc7d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -12,8 +12,8 @@ All packages we provide are signed with the following [key](https://packages.ici
Heres how to add the official release repository:
```bash
apt-get update
apt-get -y install apt-transport-https wget gnupg
apt update
apt -y install apt-transport-https wget gnupg
wget -O - https://packages.icinga.com/icinga.key | apt-key add -
@ -23,7 +23,7 @@ DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
echo "deb-src https://packages.icinga.com/debian icinga-${DIST} main" >> \
/etc/apt/sources.list.d/${DIST}-icinga.list
apt-get update
apt update
```
## Installing the Package
@ -31,6 +31,6 @@ apt-get update
Use your distribution's package manager to install the `<!-- {{ package }} -->` package as follows:
```bash
apt-get install <!-- {{ package }} -->
apt install <!-- {{ package }} -->
```
<!-- {% include "02-Installation.md" %} -->