diff --git a/doc/02-installation.md b/doc/02-installation.md
index 7f13a3db5..edfd31372 100644
--- a/doc/02-installation.md
+++ b/doc/02-installation.md
@@ -23,8 +23,8 @@ We recommend using our official repositories. Here's how to add it to your syste
### Debian 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 | gpg --dearmor -o /usr/share/keyrings/icinga-archive-keyring.gpg
@@ -34,7 +34,7 @@ DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
echo "deb-src [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/debian icinga-${DIST} main" >> \
/etc/apt/sources.list.d/${DIST}-icinga.list
-apt-get update
+apt update
```
#### Debian Backports Repository
@@ -48,7 +48,7 @@ DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
echo "deb https://deb.debian.org/debian ${DIST}-backports main" > \
/etc/apt/sources.list.d/${DIST}-backports.list
-apt-get update
+apt update
```
@@ -57,8 +57,8 @@ apt-get update
### Ubuntu 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 | gpg --dearmor -o /usr/share/keyrings/icinga-archive-keyring.gpg
@@ -68,7 +68,7 @@ wget -O - https://packages.icinga.com/icinga.key | gpg --dearmor -o /usr/share/k
echo "deb-src [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/ubuntu icinga-${DIST} main" >> \
/etc/apt/sources.list.d/${DIST}-icinga.list
-apt-get update
+apt update
```
@@ -76,8 +76,8 @@ apt-get update
### Raspbian 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 | gpg --dearmor -o /usr/share/keyrings/icinga-archive-keyring.gpg
@@ -87,7 +87,7 @@ DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
echo "deb-src [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/raspbian icinga-${DIST} main" >> \
/etc/apt/sources.list.d/icinga.list
-apt-get update
+apt update
```
@@ -247,7 +247,7 @@ with `root` permissions unless noted otherwise.
#### Debian / Ubuntu / Raspbian
```bash
-apt-get install icinga2
+apt install icinga2
```
@@ -359,7 +359,7 @@ to determine where to find the plugin binaries.
#### Debian / Ubuntu / Raspbian
```bash
-apt-get install monitoring-plugins
+apt install monitoring-plugins
```
@@ -530,7 +530,7 @@ yum install icingadb-redis
##### Debian / Ubuntu
```bash
-apt-get install icingadb-redis
+apt install icingadb-redis
```