Skip to content

Commit f8be92e

Browse files
authored
Replace apt-get with apt
1 parent de78af3 commit f8be92e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/02-Installation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ wget https://packages.icinga.com/centos/ICINGA-release.repo -O /etc/yum.repos.d/
6969
<!-- {% endif %} -->
7070

7171
```bash
72-
apt-get update
73-
apt-get -y install apt-transport-https wget gnupg
72+
apt update
73+
apt -y install apt-transport-https wget gnupg
7474

7575
wget -O - https://packages.icinga.com/icinga.key | apt-key add -
7676

@@ -80,7 +80,7 @@ DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
8080
echo "deb-src https://packages.icinga.com/debian icinga-${DIST} main" >> \
8181
/etc/apt/sources.list.d/${DIST}-icinga.list
8282

83-
apt-get update
83+
apt update
8484
```
8585
<!-- {% endif %} -->
8686

@@ -126,8 +126,8 @@ zypper ref
126126
<!-- {% endif %} -->
127127

128128
```bash
129-
apt-get update
130-
apt-get -y install apt-transport-https wget gnupg
129+
apt update
130+
apt -y install apt-transport-https wget gnupg
131131

132132
wget -O - https://packages.icinga.com/icinga.key | apt-key add -
133133

@@ -137,7 +137,7 @@ wget -O - https://packages.icinga.com/icinga.key | apt-key add -
137137
echo "deb-src https://packages.icinga.com/ubuntu icinga-${DIST} main" >> \
138138
/etc/apt/sources.list.d/${DIST}-icinga.list
139139

140-
apt-get update
140+
apt update
141141
```
142142
<!-- {% endif %} -->
143143

@@ -172,7 +172,7 @@ yum install icingadb
172172
#### Debian / Ubuntu
173173
<!-- {% endif %} -->
174174
```bash
175-
apt-get install icingadb
175+
apt install icingadb
176176
```
177177
<!-- {% endif %} -->
178178

0 commit comments

Comments
 (0)