Skip to content

Commit 5b4d607

Browse files
committed
docs: deb install: signed-by and wget
`docs/admin/installation/linux-packages`: Add `[signed-by=]` options, add wget command as alternative to curl
1 parent 98df0cd commit 5b4d607

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
- Add a deprecation warning (PR#2544 by Sebastian Wagner)
4343

4444
### Documentation
45+
- `docs/admin/installation/linux-packages`: Add `[signed-by=]` options, add wget command as alternative to curl
4546

4647
### Packaging
4748

docs/admin/installation/linux-packages.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@ Native packages are currently provided for the following Linux distributions:
2323

2424
### Debian 11 and 12
2525

26-
Add the repository to the package manager and install IntelMQ (packages `intelmq-api` and `intelmq-manager` are optional):
26+
1. First, add the APT repository to the package manager:
2727

2828
```bash
29-
echo "deb http://download.opensuse.org/repositories/home:/sebix:/intelmq/Debian_$(lsb_release -rs)/ /" | sudo tee /etc/apt/sources.list.d/intelmq.list
29+
echo "deb [signed-by=/etc/apt/trusted.gpg.d/intelmq.gpg] http://download.opensuse.org/repositories/home:/sebix:/intelmq/Debian_$(lsb_release -rs)/ /" | sudo tee /etc/apt/sources.list.d/intelmq.list
3030
curl -fsSL "https://download.opensuse.org/repositories/home:sebix:intelmq/Debian_$(lsb_release -rs)/Release.key" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/intelmq.gpg > /dev/null
31+
# if curl is not available:
32+
wget "https://download.opensuse.org/repositories/home:sebix:intelmq/xUbuntu_$(lsb_release -rs)/Release.key" -O - | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/intelmq.gpg > /dev/null
33+
```
34+
2. Install the IntelMQ (packages `intelmq-api` and `intelmq-manager` are optional)
35+
```bash
3136
sudo apt update
3237
sudo apt install intelmq intelmq-api intelmq-manager
3338
```
@@ -57,8 +62,10 @@ deb http://[...].archive.ubuntu.com/ubuntu/ focal main universe
5762

5863
3. Next, add the IntelMQ APT Repository for Ubuntu:
5964
```bash
60-
echo "deb http://download.opensuse.org/repositories/home:/sebix:/intelmq/xUbuntu_$(lsb_release -rs)/ /" | sudo tee /etc/apt/sources.list.d/intelmq.list
65+
echo "deb [signed-by=/etc/apt/trusted.gpg.d/intelmq.gpg] http://download.opensuse.org/repositories/home:/sebix:/intelmq/xUbuntu_$(lsb_release -rs)/ /" | sudo tee /etc/apt/sources.list.d/intelmq.list
6166
curl -fsSL "https://download.opensuse.org/repositories/home:sebix:intelmq/xUbuntu_$(lsb_release -rs)/Release.key" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/intelmq.gpg > /dev/null
67+
# if curl is not available:
68+
wget "https://download.opensuse.org/repositories/home:sebix:intelmq/xUbuntu_$(lsb_release -rs)/Release.key" -O - | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/intelmq.gpg > /dev/null
6269
```
6370

6471
3. Now update the list of available packages and install the IntelMQ packages:

0 commit comments

Comments
 (0)