# Install Prometheus Exporter on Linux

You can download the Aerospike Prometheus Exporter manually from the [Download](https://aerospike.com/download/oandm/prometheus/) page. The [release notes](https://aerospike.com/docs/database/observe/monitor/release/exporter) have important information about each release. Use the following example to automate downloading versions of the Exporter from the artifact repository.

**Base URL**

Terminal window

```bash
https://download.aerospike.com/artifacts/aerospike-prometheus-exporter/1.24.0
```

## Install on Red Hat systems

-   [x86\_64](#tab-panel-999)
-   [aarch64](#tab-panel-1000)

1.  Download the RPM package.
    
    Terminal window
    
    ```bash
    wget https://download.aerospike.com/artifacts/aerospike-prometheus-exporter/1.24.0/aerospike-prometheus-exporter-1.24.0-1.x86_64.rpm
    ```
    
2.  Install the package.
    
    Terminal window
    
    ```bash
    rpm -Uvh aerospike-prometheus-exporter-1.24.0-1.x86_64.rpm
    ```
    

1.  Download the RPM package.
    
    Terminal window
    
    ```bash
    wget https://download.aerospike.com/artifacts/aerospike-prometheus-exporter/1.24.0/aerospike-prometheus-exporter-1.24.0-1.aarch64.rpm
    ```
    
2.  Install the package.
    
    Terminal window
    
    ```bash
    rpm -Uvh aerospike-prometheus-exporter-1.24.0-1.aarch64.rpm
    ```
    

## Install on Debian-derived systems (Debian, Ubuntu, or others)

::: note
Support for Debian 10 ARM64 was removed from Database 6.3.0. Support for Debian 10 was removed entirely in Database 7.0.0.
:::

-   [amd64](#tab-panel-1001)
-   [arm64](#tab-panel-1002)

1.  Download the Debian package.
    
    Terminal window
    
    ```bash
    wget https://download.aerospike.com/artifacts/aerospike-prometheus-exporter/1.24.0/aerospike-prometheus-exporter_1.24.0-1_amd64.deb
    ```
    
2.  Install the package.
    
    Terminal window
    
    ```bash
    dpkg -i aerospike-prometheus-exporter_1.24.0-1_amd64.deb
    ```
    

1.  Download the Debian package.
    
    Terminal window
    
    ```bash
    wget https://download.aerospike.com/artifacts/aerospike-prometheus-exporter/1.24.0/aerospike-prometheus-exporter_1.24.0-1_arm64.deb
    ```
    
2.  Install the package.
    
    Terminal window
    
    ```bash
    dpkg -i aerospike-prometheus-exporter_1.24.0-1_arm64.deb
    ```
    

### Download the binary

Download the `.tgz` package containing the binary.

Terminal window

```bash
# Download and extract the package containing the exporter binary

wget https://download.aerospike.com/artifacts/aerospike-prometheus-exporter/1.24.0/aerospike-prometheus-exporter_1.24.0_x86_64.tgz -O aerospike-prometheus-exporter.tgz

tar -xvzf aerospike-prometheus-exporter.tgz
```

Install and run the exporter:

Terminal window

```bash
# Run the exporter directly using the binary

./usr/bin/aerospike-prometheus-exporter --config ./etc/aerospike-prometheus-exporter/ape.toml
```

(for systemd based):

Terminal window

```bash
# install exporter binary

cp ./usr/bin/aerospike-prometheus-exporter /usr/bin/aerospike-prometheus-exporter

# install configuration file

mkdir -p /etc/aerospike-prometheus-exporter

cp ./etc/aerospike-prometheus-exporter/ape.toml /etc/aerospike-prometheus-exporter/ape.toml

# install systemd service unit file

mkdir -p /usr/lib/systemd/system

cp ./usr/lib/systemd/system/aerospike-prometheus-exporter.service /usr/lib/systemd/system/aerospike-prometheus-exporter.service

# Reload systemd manager configuration

systemctl daemon-reload
```

## Exporter naming conventions

-   Starting with Database 6.2.0 and Exporter 1.9.0, where support for 64-bit ARM was introduced, the Exporter packages use the following naming convention:

**Package name**

Note the difference between the hyphen `-`, underscore `_`, and period `.` usages.

-   \*.deb & \*.tgz use this construct:
    -   `aerospike-prometheus-exporter_VERSION-1_ARCHITECTURE.EXTENSION`
-   \*.rpm uses this construct:
    -   `aerospike-prometheus-exporter-VERSION-1.ARCHITECTURE.EXTENSION`

**version:** `1.24.0`, and so on

**architecture:** `x86_64`, `aarch64` - based on `uname -m`

-   Prior to Exporter 1.9.0, Exporter ran only on x86\_64 architecture and used the following naming convention:

**Package name**

```plaintext
aerospike-prometheus-exporter_VERSION.tgz
```