# Install tools on Linux

This page describes how to install Aerospike tools on supported Linux distributions. Refer to [Aerospike tools requirements](https://aerospike.com/docs/database/tools/install/requirements/) to learn about supported operating systems and other requirements.

## Prerequisites

-   [RHEL](#tab-panel-846)
-   [Debian](#tab-panel-847)
-   [Ubuntu](#tab-panel-848)

Verify that your system satisfies the prerequisites described in [Aerospike tools requirements](https://aerospike.com/docs/database/tools/install/requirements).

-   Requires a supported Debian release.
-   Verify that your system satisfies the prerequisites as described in [Tools Requirements](https://aerospike.com/docs/database/tools/install/requirements).
-   Verify that the package `libreadline` is installed on your Debian system.

-   Requires a [supported Ubuntu release](https://aerospike.com/docs/database/reference/platform-support).
-   Verify that your system satisfies the prerequisites that are described in [Tools Requirements](https://aerospike.com/docs/database/tools/install/requirements).
-   Verify that the package `libreadline` is installed on your Ubuntu system.

## Install with tarball

-   [RHEL](#tab-panel-849)
-   [Debian](#tab-panel-850)
-   [Ubuntu](#tab-panel-851)

See [Download Aerospike Tools](https://aerospike.com/docs/database/tools/install) for more details on manual or automated downloads of tools packages.

In the example below, replace _VERSION_ with the tools version you want to download, or browse for available downloads in the [latest directory](https://download.aerospike.com/artifacts/aerospike-tools/latest/).

Terminal window

```bash
wget -O aerospike-tools.tgz https://download.aerospike.com/artifacts/aerospike-tools/VERSION/aerospike-tools_VERSION_el8_x86_64.tgz

tar -xvf aerospike-tools.tgz

cd aerospike-tools_*

sudo ./asinstall
```

See [Download Aerospike Tools](https://aerospike.com/docs/database/tools/install) for more details on manual or automated downloads of tools packages.

In the example below, replace _VERSION_ with the tools version you want to download, or browse for available downloads in the [latest directory](https://download.aerospike.com/artifacts/aerospike-tools/latest/).

Terminal window

```bash
wget -O aerospike-tools.tgz https://download.aerospike.com/artifacts/aerospike-tools/VERSION/aerospike-tools_VERSION_debian13_x86_64.tgz

tar -xvf aerospike-tools.tgz

cd aerospike-tools_*

sudo ./asinstall
```

See [Download Aerospike Tools](https://aerospike.com/docs/database/tools/install) for more details on manual or automated downloads of tools packages.

In the example below, replace _VERSION_ with the tools version you want to download, or browse for available downloads in the [latest directory](https://download.aerospike.com/artifacts/aerospike-tools/latest/).

Terminal window

```bash
wget -O aerospike-tools.tgz https://download.aerospike.com/artifacts/aerospike-tools/VERSION/aerospike-tools_VERSION_ubuntu20.04_x86_64.tgz

tar -xvf aerospike-tools.tgz

cd aerospike-tools_*

sudo ./asinstall
```

## Install with native package

-   [RHEL](#tab-panel-852)
-   [Debian](#tab-panel-853)
-   [Ubuntu](#tab-panel-854)

You can install the RPMs directly.

```plaintext
aerospike-tools-<version>-1.<RHEL>.<architecture>.rpm
```

Terminal window

```bash
sudo rpm -Uvh aerospike-tools-8.1.0-1.el7.aarch64.rpm
```

You can install the Debian package directly.

Starting with Tools 8.1.1 the Debian package format is as follows:

```plaintext
aerospike-tools_<version>-<[commit]distro>_<architecture>.deb
```

Terminal window

```bash
sudo dpkg -i aerospike-tools_8.1.1-debian11_arm64.deb
```

You can install the Debian package directly.

Starting with Tools 8.0.3 the Debian package format is as follows:

```plaintext
aerospike-tools_<version>-<[commit]distro>_<architecture>.deb
```

Terminal window

```bash
sudo dpkg -i aerospike-tools_8.0.3-ubuntu20.04_amd64.deb
```

## Verify tools installation

-   [RHEL](#tab-panel-855)
-   [Debian](#tab-panel-856)
-   [Ubuntu](#tab-panel-857)

You can grep for `aerospike-tools` to verify the package installation:

Terminal window

```bash
rpm -qa | grep aerospike-tools
```

::: tip
To verify the installation for a specific tool, run the tool with the `--version` flag. For example, `asadm --version`. If security is enabled for your Aerospike cluster, provide a valid username and password when you verify the tool.
:::

You can grep for `aerospike-tools` to verify the package installation:

Terminal window

```bash
dpkg-query -l | grep aerospike-tools
```

::: tip
To verify the installation for a specific tool, run the tool with the `--version` flag. For example, `asadm --version`. If security is enabled for your Aerospike cluster, provide a valid username and password when you verify the tool.
:::

You can grep for `aerospike-tools` to verify the package installation:

Terminal window

```bash
dpkg-query -l | grep aerospike-tools
```

::: tip
To verify the installation for a specific tool, run the tool with the `--version` flag. For example, `asadm --version`. If security is enabled for your Aerospike cluster, provide a valid username and password when you verify the tool.
:::