diff --git a/doc/02-Installation.md b/doc/02-Installation.md index b4f50c543..8e04a1f7b 100644 --- a/doc/02-Installation.md +++ b/doc/02-Installation.md @@ -69,8 +69,8 @@ wget https://packages.icinga.com/centos/ICINGA-release.repo -O /etc/yum.repos.d/ ```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 - @@ -80,7 +80,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 ``` @@ -126,8 +126,8 @@ zypper ref ```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 - @@ -137,7 +137,7 @@ wget -O - https://packages.icinga.com/icinga.key | apt-key add - echo "deb-src https://packages.icinga.com/ubuntu icinga-${DIST} main" >> \ /etc/apt/sources.list.d/${DIST}-icinga.list -apt-get update +apt update ``` @@ -172,7 +172,7 @@ yum install icingadb #### Debian / Ubuntu ```bash -apt-get install icingadb +apt install icingadb ```