# Install AxoSyslog on Debian/Ubuntu

You can install AxoSyslog 4.8 and newer on your Debian-based system from Axoflow’s APT repository. AxoSyslog is a drop in replacement for the [`syslog-ng` Debian package](<https://packages.debian.org/search?keywords=syslog-ng&searchon=names&suite=stable&section=all>), all the AxoSyslog binaries and configuration files are stored at the same place on your system.

The following x86-64 distributions are supported:

Distribution | sources.list component  
---|---  
Debian 13 (x86-64) | debian-trixie  
Debian 12 (x86-64) | debian-bookworm  
Debian 11 (x86-64) | debian-bullseye  
Debian Unstable (x86-64) | debian-sid  
Debian Testing (x86-64) | debian-testing  
Ubuntu 25.04 (x86-64) | ubuntu-plucky  
Ubuntu 24.04 (x86-64) | ubuntu-noble  
Ubuntu 22.04 (x86-64) | ubuntu-jammy  
Ubuntu 20.04 (x86-64) | ubuntu-focal  
  
## Which package to install?

AxoSyslog supports many features. Some of these, like specific sources and destinations require additional packages that you need only if you’re actually using the specific destination. Therefore, AxoSyslog has a number of modules that you can install as a separate package if you need the particular feature. For example, to use the gRPC-based destinations (like [loki()](<https://axoflow.com/docs/axosyslog-core/chapter-destinations/destination-loki/>) or [opentelemetry()](<https://axoflow.com/docs/axosyslog-core/chapter-destinations/opentelemetry/>)), install the `axosyslog-grpc`/`axosyslog-mod-grpc` package. For HTTP-based destinations like [elasticsearch-http()](<https://axoflow.com/docs/axosyslog-core/chapter-destinations/configuring-destinations-elasticsearch-http/>) or [sumologic-http()](<https://axoflow.com/docs/axosyslog-core/chapter-destinations/destination-sumologic-intro/>), you need the `axosyslog-http`/`axosyslog-mod-http` package.

Usually, you install the base package `axosyslog`, and the packages of specific modules that you want to use. We also provide `debuginfo` packages for every module, but you only need these in certain troubleshooting scenarios.

## Steps

To install AxoSyslog from the APT repository, complete the following steps.

  1. Run the following commands to add the APT repository of your distribution (for example, Ubuntu 24.04) to the APT sources list:
```
 wget -qO - https://pkg.axoflow.io/axoflow-code-signing-pub.asc | gpg --dearmor > /usr/share/keyrings/axoflow-code-signing-pub.gpg
         
```
```
echo "deb [signed-by=/usr/share/keyrings/axoflow-code-signing-pub.gpg] https://pkg.axoflow.io/apt stable ubuntu-noble" | tee --append /etc/apt/sources.list.d/axoflow.list
         
```
```
apt update
         
```

Note

Nightly builds are also available:
```
 echo "deb [signed-by=/usr/share/keyrings/axoflow-code-signing-pub.gpg] https://pkg.axoflow.io/apt nightly ubuntu-noble" | tee --append /etc/apt/sources.list.d/axoflow.list
         
```

  2. Install the AxoSyslog package.
```
 apt install axosyslog
         
```




Last modified December 17, 2025: [Update supported distros list (0dea84b9)](<https://github.com/axoflow/axosyslog-core-docs/commit/0dea84b95bd18f491fabd5479ffd84b202b5b4bc>)