package-installation-docs/Amazon-Linux.md

41 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

# Installing <!-- {{ product }} --> on Amazon Linux
The recommended way to install <!-- {{ product }} --> is to use prebuilt packages from our official release repository.
If the repository is not configured yet,
please [add](#adding-icinga-package-repository) it first
before [installing](#installing-the-package) the package.
All packages we provide are signed with the following [key](https://packages.icinga.com/icinga.key).
## Adding Icinga Package Repository
!!! info
A paid repository subscription is required for Amazon Linux 2 repositories. Get more information on
[icinga.com/subscription](https://icinga.com/subscription).
2024-04-15 16:04:22 +02:00
Don't forget to fill in the username and password section with appropriate credentials in the local .repo file.
Heres how to add the official release repository:
```bash
2023-09-22 09:26:43 +02:00
curl https://packages.icinga.com/subscription/amazon/ICINGA-release.repo -o /etc/yum.repos.d/ICINGA-release.repo
```
## Installing the Package
Use your distribution's package manager to install the `<!-- {{ package }} -->` package as follows:
2023-09-22 09:26:05 +02:00
=== "Amazon Linux 2023"
```bash
dnf install <!-- {{ package }} -->
```
=== "Amazon Linux 2"
```bash
yum install <!-- {{ package }} -->
```
2022-10-26 12:09:43 +02:00
<!-- {% include "02-Installation.md" %} -->