Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 39 additions & 9 deletions defender-endpoint/linux-install-manually.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ms.topic: install-set-up-deploy
ms.subservice: linux
appliesto:
- Microsoft Defender for Servers
ms.date: 03/20/2026
ms.date: 07/26/2026
---

# Deploy Microsoft Defender for Endpoint on Linux manually
Expand Down Expand Up @@ -82,31 +82,43 @@ You can use either the `dnf` or the `yum` package manager to deploy Defender for
|---|---|
| Alma 8.4 and higher|[https://packages.microsoft.com/config/alma/8/prod.repo](https://packages.microsoft.com/config/alma/8/prod.repo)|
| Alma 9.2 and higher|[https://packages.microsoft.com/config/alma/9/prod.repo](https://packages.microsoft.com/config/alma/9/prod.repo)|
| Alma 10|[https://packages.microsoft.com/config/alma/10/prod.repo](https://packages.microsoft.com/config/alma/10/prod.repo)|
| RHEL/Centos/Oracle 10|[https://packages.microsoft.com/config/rhel/10/prod.repo](https://packages.microsoft.com/config/rhel/10/prod.repo)|
| RHEL/Centos/Oracle 9.0-9.8|[https://packages.microsoft.com/config/rhel/9/prod.repo](https://packages.microsoft.com/config/rhel/9/prod.repo)|
| RHEL/Centos/Oracle 8.0-8.10|[https://packages.microsoft.com/config/rhel/8/prod.repo](https://packages.microsoft.com/config/rhel/8/prod.repo)|
| RHEL/Centos/Oracle 7.2-7.9|[https://packages.microsoft.com/config/rhel/7.2/prod.repo](https://packages.microsoft.com/config/rhel/7.2/prod.repo)|
| Amazon Linux 2 |[https://packages.microsoft.com/config/amazonlinux/2/prod.repo](https://packages.microsoft.com/config/amazonlinux/2/prod.repo)|
| Amazon Linux 2023 |[https://packages.microsoft.com/config/amazonlinux/2023/prod.repo](https://packages.microsoft.com/config/amazonlinux/2023/prod.repo)|
| Fedora 33|[https://packages.microsoft.com/config/fedora/33/prod.repo](https://packages.microsoft.com/config/fedora/33/prod.repo)|
| Fedora 34|[https://packages.microsoft.com/config/fedora/34/prod.repo](https://packages.microsoft.com/config/fedora/34/prod.repo)|
| Fedora 43|[https://packages.microsoft.com/config/fedora/43/prod.repo](https://packages.microsoft.com/config/fedora/43/prod.repo)|
| Rocky 8.7 and higher|[https://packages.microsoft.com/config/rocky/8/prod.repo](https://packages.microsoft.com/config/rocky/8/prod.repo)|
| Rocky 9.2 and higher|[https://packages.microsoft.com/config/rocky/9/prod.repo](https://packages.microsoft.com/config/rocky/9/prod.repo)|

| Rocky 10|[https://packages.microsoft.com/config/rocky/10/prod.repo](https://packages.microsoft.com/config/rocky/10/prod.repo)|

> [!NOTE]
> For your distribution and version, identify the closest entry for it (by major, then minor) under `https://packages.microsoft.com/config/rhel/`.
> For your distribution and version, identify the closest entry for it (by major, then minor) in the preceding table.

> [!TIP]
> Online Kernel patching tools, such as Ksplice or similar, can lead to unpredictable OS stability if Defender for Endpoint is running. It's recommended to temporarily stop the Defender for Endpoint daemon before performing online Kernel patching. After the Kernel is updated, Defender for Endpoint on Linux can be safely restarted. This action is especially important for systems running Oracle Linux.

3. In the following commands, replace *[version]* and *[channel]* with the information you've identified:
3. In the following commands, replace *[distro]*, *[version]*, and *[channel]* with the information you've identified:

```bash
sudo dnf config-manager --add-repo https://packages.microsoft.com/config/rhel/[version]/[channel].repo
sudo dnf config-manager --add-repo https://packages.microsoft.com/config/[distro]/[version]/[channel].repo
```
or
or
```bash
sudo yum-config-manager --add-repo=https://packages.microsoft.com/config/rhel/[version]/[channel].repo
sudo yum-config-manager --add-repo=https://packages.microsoft.com/config/[distro]/[version]/[channel].repo
```

> [!NOTE]
> Fedora 43 uses DNF 5. On Fedora 43, use the following command:
>
> ```bash
> sudo dnf config-manager addrepo --from-repofile=https://packages.microsoft.com/config/fedora/43/[channel].repo
> ```

> [!TIP]
> Use hostnamectl command to identify system related information including release *[version]*.

Expand All @@ -130,7 +142,13 @@ You can use either the `dnf` or the `yum` package manager to deploy Defender for
sudo yum-config-manager --add-repo=https://packages.microsoft.com/config/rhel/8/insiders-fast.repo
```

4. Install the Microsoft GPG public key:
4. Install the Microsoft GPG public key. For Alma 10, Fedora 43, RHEL/Centos/Oracle 10, and Rocky 10, use:

```bash
sudo rpm --import https://packages.microsoft.com/keys/microsoft-2025.asc
```

For other versions, use:

```bash
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
Expand All @@ -156,7 +174,19 @@ You can use either the `dnf` or the `yum` package manager to deploy Defender for
sudo zypper addrepo -c -f -n microsoft-prod https://packages.microsoft.com/config/sles/12/prod.repo
```

2. Install the Microsoft GPG public key:
For SLES 16:

```bash
sudo zypper addrepo -c -f -n microsoft-prod https://packages.microsoft.com/config/sles/16/prod.repo
```

2. Install the Microsoft GPG public key. For SLES 16, use:

```bash
sudo rpm --import https://packages.microsoft.com/keys/microsoft-2025.asc
```

For other versions, use:

```bash
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
Expand Down
Loading