How To Install ndctl on Fedora 36
Introduction
In this tutorial we learn how to install ndctl
on Fedora 36.
What is ndctl
Utility library for managing the “libnvdimm” subsystem. The “libnvdimm” subsystem defines a kernel device model and control message interface for platform NVDIMM resources like those defined by the ACPI 6+ NFIT (NVDIMM Firmware Interface Table).
We can use yum
or dnf
to install ndctl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ndctl.
Install ndctl on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install ndctl
using dnf
by running the following command:
sudo dnf -y install ndctl
Install ndctl on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ndctl
using yum
by running the following command:
sudo yum -y install ndctl
How To Uninstall ndctl on Fedora 36
To uninstall only the ndctl
package we can use the following command:
sudo dnf remove ndctl
ndctl Package Contents on Fedora 36
/etc/modprobe.d/nvdimm-security.conf
/etc/ndctl.conf.d/monitor.conf
/etc/ndctl.conf.d/ndctl.conf
/etc/ndctl/keys/keys.readme
/usr/bin/ndctl
/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/6ba8b925a44fb715a67225bfa7523a8054f57c
/usr/lib/systemd/system/ndctl-monitor.service
/usr/share/bash-completion/completions/ndctl
/usr/share/licenses/ndctl
/usr/share/licenses/ndctl/CC0-1.0
/usr/share/licenses/ndctl/GPL-2.0
/usr/share/licenses/ndctl/MIT
/usr/share/man/man1/ndctl-activate-firmware.1.gz
/usr/share/man/man1/ndctl-check-labels.1.gz
/usr/share/man/man1/ndctl-check-namespace.1.gz
/usr/share/man/man1/ndctl-clear-errors.1.gz
/usr/share/man/man1/ndctl-create-namespace.1.gz
/usr/share/man/man1/ndctl-destroy-namespace.1.gz
/usr/share/man/man1/ndctl-disable-dimm.1.gz
/usr/share/man/man1/ndctl-disable-namespace.1.gz
/usr/share/man/man1/ndctl-disable-region.1.gz
/usr/share/man/man1/ndctl-enable-dimm.1.gz
/usr/share/man/man1/ndctl-enable-namespace.1.gz
/usr/share/man/man1/ndctl-enable-region.1.gz
/usr/share/man/man1/ndctl-freeze-security.1.gz
/usr/share/man/man1/ndctl-init-labels.1.gz
/usr/share/man/man1/ndctl-inject-error.1.gz
/usr/share/man/man1/ndctl-inject-smart.1.gz
/usr/share/man/man1/ndctl-list.1.gz
/usr/share/man/man1/ndctl-load-keys.1.gz
/usr/share/man/man1/ndctl-monitor.1.gz
/usr/share/man/man1/ndctl-read-infoblock.1.gz
/usr/share/man/man1/ndctl-read-labels.1.gz
/usr/share/man/man1/ndctl-remove-passphrase.1.gz
/usr/share/man/man1/ndctl-sanitize-dimm.1.gz
/usr/share/man/man1/ndctl-setup-passphrase.1.gz
/usr/share/man/man1/ndctl-start-scrub.1.gz
/usr/share/man/man1/ndctl-update-firmware.1.gz
/usr/share/man/man1/ndctl-update-passphrase.1.gz
/usr/share/man/man1/ndctl-wait-overwrite.1.gz
/usr/share/man/man1/ndctl-wait-scrub.1.gz
/usr/share/man/man1/ndctl-write-infoblock.1.gz
/usr/share/man/man1/ndctl-write-labels.1.gz
/usr/share/man/man1/ndctl-zero-labels.1.gz
/usr/share/man/man1/ndctl.1.gz
References
Summary
In this tutorial we learn how to install ndctl
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).