# Installing NDCTL and DAXCTL Packages on Linux

The `ndctl` and `daxctl` utilities are available in many Linux distribution package repositories.  This approach is the easiest to use and maintain, compared with [installing ndctl from source code](https://docs.pmem.io/ndctl-user-guide/v72.1/installing-ndctl/installing-ndctl-from-source-on-linux). The daxctl utility is bundled with the ndctl packages.

{% tabs %}
{% tab title="Fedora" %}
1\) Query the repository to confirm if the ndctl and daxctl packages are available:

Fedora 21 or earlier

```
yum search ndctl
yum search daxctl
```

Fedora 22 or later

```
dnf search ndctl
dnf search ndctl 
```

2\) Install the ndctl and daxctl packages

Fedora 21 or earlier

```
yum install ndctl daxctl
```

Fedora 22 or later

```
dnf install ndctl daxctl
```

{% endtab %}

{% tab title="RHEL & CentOS" %}
The ndctl package is available on CentOS, RHEL, RHEL for SAP HANA 7.0 or later.&#x20;

1\) Query the repository to identify if the ndctl and daxctl packages are available:

```
yum search ndctl
yum search daxctl
- or -
dnf search ndctl 
dnf search daxctl 
```

2\) Install the ndctl and daxctl packages

```
yum install ndctl daxctl
```

{% endtab %}

{% tab title="SLES & OpenSUSE" %}
The ndctl and daxctl packages are available for OpenSUSE, SUSE Linux Enterprise Server (SLES), and SLES for SAP HANA v12.4 or later.

1\) Query the repository to identify if ndctl and daxctl are available:

```
sudo zypper search ndctl
sudo zypper search daxctl
```

2\) Install the ndctl and daxctl packages

```
sudo zypper install ndctl daxctl 
```

{% endtab %}

{% tab title="Ubuntu" %}
The ndctl and daxctl packages are available on Ubuntu 18.10 (Cosmic Cuttlefish) or later.

1\) Query the repository to identify if the ndctl and daxctl packages are available using either the aptitude, apt-cache, or apt utilities

```
apt search ndctl
apt search daxctl
- or -
aptitude search ndctl 
aptitude search daxctl
- or -
apt-cache search ndctl 
apt-cache search daxctl
```

2\) Verify if the ndctl package is currently installed and check the version

```
apt list --installed ndctl
apt list --installed daxctl
```

3\) Install the ndctl package or update an installed package

```
sudo apt install ndctl daxctl
```

{% endtab %}

{% tab title="Debian" %}
{% hint style="info" %}
The ndctl package is available on Debian 10 (Buster) or later. See <https://tracker.debian.org/pkg/ndctl> for up-to-date information.
{% endhint %}

1\) Query available versions in configured repositories:

```
apt policy ndctl
apt policy daxctl
```

2\) Query the repository to identify if ndctl and daxctl are available using either the aptitude, apt-cache,&#x20;

or apt utilities

```
apt search ndctl
apt search daxctl
```

3\) Verify if the ndctl and daxctl packages are currently installed and check the version

```
apt list --installed ndctl
apt list --installed daxctl
```

4\) Install the ndctl and daxctl packages or update an installed package

```
sudo apt install ndctl daxctl
```

{% endtab %}
{% endtabs %}
