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.
1) Query the repository to identify if ndctl is delivered:
Fedora 21 or earlier
yum search ndctlFedora 22 or later
dnf repoquery ndctl2) Install the ndctl utility
Fedora 21 or earlier
yum install ndctlFedora 22 or later
dnf install ndctlThe ndctl package is available on CentOS and RHEL 7.0 or later.
1) Query the repository to identify if ndctl is delivered:
yum search ndctl2) Install the ndctl package
$ yum install ndctl1) Query the repository to identify if ndctl is delivered:
$ zypper search ndctl2) Install the ndctl package
$ zypper install ndctlThe 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 ndctl2) Verify if the ndctl package is currently installed and check the version
$ apt list --installed ndctl3) Install the ndctl package or update an installed package
$ sudo apt-get install ndctl1) Query available versions in configured repos:
$ apt policy ndctl2) Query the repository to identify if ndctl is delivered using either the aptitude, apt-cache, or apt utilities
$ apt search ndctl3) Verify if the ndctl package is currently installed and check the version
$ apt list --installed ndctl4) Install the ndctl package or update an installed package
$ sudo apt install ndctlLast updated
Was this helpful?