> For the complete documentation index, see [llms.txt](https://docs.pmem.io/ndctl-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pmem.io/ndctl-user-guide/v66/installing-ndctl/installing-ndctl-packages-on-linux.md).

# Installing NDCTL Packages on Linux

The `ndctl` utility is available in many Linux distribution package repositories.  This approach is the easiest to implement and maintain, compared with [installing ndctl from source code](/ndctl-user-guide/v66/installing-ndctl/installing-ndctl-from-source-on-linux.md).

{% tabs %}
{% tab title="Fedora" %}
1\) Query the repository to identify if ndctl is delivered:

Fedora 21 or earlier

```
yum search ndctl
```

Fedora 22 or later

```
dnf repoquery ndctl
```

2\) Install the ndctl utility

Fedora 21 or earlier

```
yum install ndctl
```

Fedora 22 or later

```
dnf install ndctl
```

{% endtab %}

{% tab title="RHEL & CentOS" %}
The ndctl package is available on CentOS and RHEL 7.0 or later.

1\) Query the repository to identify if ndctl is delivered:

```
yum search ndctl
```

2\) Install the ndctl package

```
$ yum install ndctl
```

{% endtab %}

{% tab title="SLES & OpenSUSE" %}
1\) Query the repository to identify if ndctl is delivered:

```
$ zypper search ndctl
```

2\) Install the ndctl package

```
$ zypper install ndctl
```

{% endtab %}

{% tab title="Ubuntu" %}
The ndctl package is available on Ubuntu 18.10 (Cosmic Cuttlefish) or later.

1\) Query the repository to identify if ndctl is delivered using either the aptitude, apt-cache, or apt utilities

```
$ aptitude search ndctl 
$ apt-cache search ndctl 
$ apt search ndctl
```

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

```
$ apt list --installed ndctl
```

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

```
$ sudo apt-get install ndctl
```

{% 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 repos:

```
$ apt policy ndctl
```

2\) Query the repository to identify if ndctl is delivered using either the aptitude, apt-cache, or apt utilities

```
$ apt search ndctl
```

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

```
$ apt list --installed ndctl
```

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

```
$ sudo apt install ndctl
```

{% endtab %}
{% endtabs %}
