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.Fedora
RHEL & CentOS
SLES & OpenSUSE
Ubuntu
Debian
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
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
1) Query the repository to identify if ndctl is delivered:
$ zypper search ndctl
2) Install the ndctl package
$ zypper install ndctl
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
The ndctl package is available on Debian 10 (Buster) or later. See https://tracker.debian.org/pkg/ndctl for up to date information.
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
Last modified 3yr ago