How To Install nvme-cli on Rocky Linux 8
Introduction
In this tutorial we learn how to install nvme-cli
on Rocky Linux 8.
What is nvme-cli
nvme-cli provides NVM-Express user space tooling for Linux.
We can use yum
or dnf
to install nvme-cli
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nvme-cli.
Install nvme-cli on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install nvme-cli
using dnf
by running the following command:
sudo dnf -y install nvme-cli
Install nvme-cli on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install nvme-cli
using yum
by running the following command:
sudo yum -y install nvme-cli
How To Uninstall nvme-cli on Rocky Linux 8
To uninstall only the nvme-cli
package we can use the following command:
sudo dnf remove nvme-cli
nvme-cli Package Contents on Rocky Linux 8
/etc/nvme
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/14da8ccdfbe8d15578d80476f3cbc4f30ab8bc
/usr/lib/systemd/system/nvmefc-boot-connections.service
/usr/lib/systemd/system/nvmf-autoconnect.service
/usr/lib/systemd/system/nvmf-connect.target
/usr/lib/systemd/system/[email protected]
/usr/lib/udev/rules.d/70-nvmf-autoconnect.rules
/usr/lib/udev/rules.d/71-nvmf-iopolicy-netapp.rules
/usr/sbin/nvme
/usr/share/bash-completion/completions/nvme
/usr/share/doc/nvme-cli
/usr/share/doc/nvme-cli/README.md
/usr/share/licenses/nvme-cli
/usr/share/licenses/nvme-cli/LICENSE
/usr/share/man/man1/nvme-admin-passthru.1.gz
/usr/share/man/man1/nvme-ana-log.1.gz
/usr/share/man/man1/nvme-attach-ns.1.gz
/usr/share/man/man1/nvme-changed-ns-list-log.1.gz
/usr/share/man/man1/nvme-compare.1.gz
/usr/share/man/man1/nvme-connect-all.1.gz
/usr/share/man/man1/nvme-connect.1.gz
/usr/share/man/man1/nvme-create-ns.1.gz
/usr/share/man/man1/nvme-delete-ns.1.gz
/usr/share/man/man1/nvme-dera-stat.1.gz
/usr/share/man/man1/nvme-detach-ns.1.gz
/usr/share/man/man1/nvme-device-self-test.1.gz
/usr/share/man/man1/nvme-dir-receive.1.gz
/usr/share/man/man1/nvme-dir-send.1.gz
/usr/share/man/man1/nvme-disconnect-all.1.gz
/usr/share/man/man1/nvme-disconnect.1.gz
/usr/share/man/man1/nvme-discover.1.gz
/usr/share/man/man1/nvme-dsm.1.gz
/usr/share/man/man1/nvme-effects-log.1.gz
/usr/share/man/man1/nvme-endurance-log.1.gz
/usr/share/man/man1/nvme-error-log.1.gz
/usr/share/man/man1/nvme-flush.1.gz
/usr/share/man/man1/nvme-format.1.gz
/usr/share/man/man1/nvme-fw-commit.1.gz
/usr/share/man/man1/nvme-fw-download.1.gz
/usr/share/man/man1/nvme-fw-log.1.gz
/usr/share/man/man1/nvme-gen-hostnqn.1.gz
/usr/share/man/man1/nvme-get-feature.1.gz
/usr/share/man/man1/nvme-get-log.1.gz
/usr/share/man/man1/nvme-get-ns-id.1.gz
/usr/share/man/man1/nvme-get-property.1.gz
/usr/share/man/man1/nvme-help.1.gz
/usr/share/man/man1/nvme-huawei-id-ctrl.1.gz
/usr/share/man/man1/nvme-huawei-list.1.gz
/usr/share/man/man1/nvme-id-ctrl.1.gz
/usr/share/man/man1/nvme-id-ns.1.gz
/usr/share/man/man1/nvme-id-nvmset.1.gz
/usr/share/man/man1/nvme-intel-id-ctrl.1.gz
/usr/share/man/man1/nvme-intel-internal-log.1.gz
/usr/share/man/man1/nvme-intel-lat-stats.1.gz
/usr/share/man/man1/nvme-intel-market-name.1.gz
/usr/share/man/man1/nvme-intel-smart-log-add.1.gz
/usr/share/man/man1/nvme-intel-temp-stats.1.gz
/usr/share/man/man1/nvme-io-passthru.1.gz
/usr/share/man/man1/nvme-list-ctrl.1.gz
/usr/share/man/man1/nvme-list-ns.1.gz
/usr/share/man/man1/nvme-list-subsys.1.gz
/usr/share/man/man1/nvme-list.1.gz
/usr/share/man/man1/nvme-lnvm-create.1.gz
/usr/share/man/man1/nvme-lnvm-diag-bbtbl.1.gz
/usr/share/man/man1/nvme-lnvm-diag-set-bbtbl.1.gz
/usr/share/man/man1/nvme-lnvm-factory.1.gz
/usr/share/man/man1/nvme-lnvm-id-ns.1.gz
/usr/share/man/man1/nvme-lnvm-info.1.gz
/usr/share/man/man1/nvme-lnvm-init.1.gz
/usr/share/man/man1/nvme-lnvm-list.1.gz
/usr/share/man/man1/nvme-lnvm-remove.1.gz
/usr/share/man/man1/nvme-netapp-ontapdevices.1.gz
/usr/share/man/man1/nvme-netapp-smdevices.1.gz
/usr/share/man/man1/nvme-ns-descs.1.gz
/usr/share/man/man1/nvme-ns-rescan.1.gz
/usr/share/man/man1/nvme-read.1.gz
/usr/share/man/man1/nvme-reset.1.gz
/usr/share/man/man1/nvme-resv-acquire.1.gz
/usr/share/man/man1/nvme-resv-register.1.gz
/usr/share/man/man1/nvme-resv-release.1.gz
/usr/share/man/man1/nvme-resv-report.1.gz
/usr/share/man/man1/nvme-sanitize-log.1.gz
/usr/share/man/man1/nvme-sanitize.1.gz
/usr/share/man/man1/nvme-security-recv.1.gz
/usr/share/man/man1/nvme-security-send.1.gz
/usr/share/man/man1/nvme-self-test-log.1.gz
/usr/share/man/man1/nvme-set-feature.1.gz
/usr/share/man/man1/nvme-set-property.1.gz
/usr/share/man/man1/nvme-show-hostnqn.1.gz
/usr/share/man/man1/nvme-show-regs.1.gz
/usr/share/man/man1/nvme-smart-log.1.gz
/usr/share/man/man1/nvme-subsystem-reset.1.gz
/usr/share/man/man1/nvme-telemetry-log.1.gz
/usr/share/man/man1/nvme-toshiba-clear-pcie-correctable-errors.1.gz
/usr/share/man/man1/nvme-toshiba-vs-internal-log.1.gz
/usr/share/man/man1/nvme-toshiba-vs-smart-add-log.1.gz
/usr/share/man/man1/nvme-transcend-badblock.1.gz
/usr/share/man/man1/nvme-transcend-healthvalue.1.gz
/usr/share/man/man1/nvme-virtium-save-smart-to-vtview-log.1.gz
/usr/share/man/man1/nvme-virtium-show-identify.1.gz
/usr/share/man/man1/nvme-wdc-cap-diag.1.gz
/usr/share/man/man1/nvme-wdc-clear-assert-dump.1.gz
/usr/share/man/man1/nvme-wdc-clear-fw-activate-history.1.gz
/usr/share/man/man1/nvme-wdc-clear-pcie-correctable-errors.1.gz
/usr/share/man/man1/nvme-wdc-drive-essentials.1.gz
/usr/share/man/man1/nvme-wdc-drive-log.1.gz
/usr/share/man/man1/nvme-wdc-drive-resize.1.gz
/usr/share/man/man1/nvme-wdc-get-crash-dump.1.gz
/usr/share/man/man1/nvme-wdc-get-drive-status.1.gz
/usr/share/man/man1/nvme-wdc-get-pfail-dump.1.gz
/usr/share/man/man1/nvme-wdc-id-ctrl.1.gz
/usr/share/man/man1/nvme-wdc-log-page-directory.1.gz
/usr/share/man/man1/nvme-wdc-namespace-resize.1.gz
/usr/share/man/man1/nvme-wdc-purge-monitor.1.gz
/usr/share/man/man1/nvme-wdc-purge.1.gz
/usr/share/man/man1/nvme-wdc-vs-drive-info.1.gz
/usr/share/man/man1/nvme-wdc-vs-error-reason-identifier.1.gz
/usr/share/man/man1/nvme-wdc-vs-fw-activate-history.1.gz
/usr/share/man/man1/nvme-wdc-vs-internal-log.1.gz
/usr/share/man/man1/nvme-wdc-vs-nand-stats.1.gz
/usr/share/man/man1/nvme-wdc-vs-smart-add-log.1.gz
/usr/share/man/man1/nvme-wdc-vs-telemetry-controller-option.1.gz
/usr/share/man/man1/nvme-write-uncor.1.gz
/usr/share/man/man1/nvme-write-zeroes.1.gz
/usr/share/man/man1/nvme-write.1.gz
/usr/share/man/man1/nvme.1.gz
/usr/share/zsh/site-functions/_nvme
/etc/nvme
/usr/lib/.build-id
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/d3feafe7327b97ecb05d923071b8a799817604
/usr/lib/systemd/system/nvmefc-boot-connections.service
/usr/lib/systemd/system/nvmf-autoconnect.service
/usr/lib/systemd/system/nvmf-connect.target
/usr/lib/systemd/system/[email protected]
/usr/lib/udev/rules.d/70-nvmf-autoconnect.rules
/usr/lib/udev/rules.d/71-nvmf-iopolicy-netapp.rules
/usr/sbin/nvme
/usr/share/bash-completion/completions/nvme
/usr/share/doc/nvme-cli
/usr/share/doc/nvme-cli/README.md
/usr/share/licenses/nvme-cli
/usr/share/licenses/nvme-cli/LICENSE
/usr/share/man/man1/nvme-admin-passthru.1.gz
/usr/share/man/man1/nvme-ana-log.1.gz
/usr/share/man/man1/nvme-attach-ns.1.gz
/usr/share/man/man1/nvme-changed-ns-list-log.1.gz
/usr/share/man/man1/nvme-compare.1.gz
/usr/share/man/man1/nvme-connect-all.1.gz
/usr/share/man/man1/nvme-connect.1.gz
/usr/share/man/man1/nvme-create-ns.1.gz
/usr/share/man/man1/nvme-delete-ns.1.gz
/usr/share/man/man1/nvme-dera-stat.1.gz
/usr/share/man/man1/nvme-detach-ns.1.gz
/usr/share/man/man1/nvme-device-self-test.1.gz
/usr/share/man/man1/nvme-dir-receive.1.gz
/usr/share/man/man1/nvme-dir-send.1.gz
/usr/share/man/man1/nvme-disconnect-all.1.gz
/usr/share/man/man1/nvme-disconnect.1.gz
/usr/share/man/man1/nvme-discover.1.gz
/usr/share/man/man1/nvme-dsm.1.gz
/usr/share/man/man1/nvme-effects-log.1.gz
/usr/share/man/man1/nvme-endurance-log.1.gz
/usr/share/man/man1/nvme-error-log.1.gz
/usr/share/man/man1/nvme-flush.1.gz
/usr/share/man/man1/nvme-format.1.gz
/usr/share/man/man1/nvme-fw-commit.1.gz
/usr/share/man/man1/nvme-fw-download.1.gz
/usr/share/man/man1/nvme-fw-log.1.gz
/usr/share/man/man1/nvme-gen-hostnqn.1.gz
/usr/share/man/man1/nvme-get-feature.1.gz
/usr/share/man/man1/nvme-get-log.1.gz
/usr/share/man/man1/nvme-get-ns-id.1.gz
/usr/share/man/man1/nvme-get-property.1.gz
/usr/share/man/man1/nvme-help.1.gz
/usr/share/man/man1/nvme-huawei-id-ctrl.1.gz
/usr/share/man/man1/nvme-huawei-list.1.gz
/usr/share/man/man1/nvme-id-ctrl.1.gz
/usr/share/man/man1/nvme-id-ns.1.gz
/usr/share/man/man1/nvme-id-nvmset.1.gz
/usr/share/man/man1/nvme-intel-id-ctrl.1.gz
/usr/share/man/man1/nvme-intel-internal-log.1.gz
/usr/share/man/man1/nvme-intel-lat-stats.1.gz
/usr/share/man/man1/nvme-intel-market-name.1.gz
/usr/share/man/man1/nvme-intel-smart-log-add.1.gz
/usr/share/man/man1/nvme-intel-temp-stats.1.gz
/usr/share/man/man1/nvme-io-passthru.1.gz
/usr/share/man/man1/nvme-list-ctrl.1.gz
/usr/share/man/man1/nvme-list-ns.1.gz
/usr/share/man/man1/nvme-list-subsys.1.gz
/usr/share/man/man1/nvme-list.1.gz
/usr/share/man/man1/nvme-lnvm-create.1.gz
/usr/share/man/man1/nvme-lnvm-diag-bbtbl.1.gz
/usr/share/man/man1/nvme-lnvm-diag-set-bbtbl.1.gz
/usr/share/man/man1/nvme-lnvm-factory.1.gz
/usr/share/man/man1/nvme-lnvm-id-ns.1.gz
/usr/share/man/man1/nvme-lnvm-info.1.gz
/usr/share/man/man1/nvme-lnvm-init.1.gz
/usr/share/man/man1/nvme-lnvm-list.1.gz
/usr/share/man/man1/nvme-lnvm-remove.1.gz
/usr/share/man/man1/nvme-netapp-ontapdevices.1.gz
/usr/share/man/man1/nvme-netapp-smdevices.1.gz
/usr/share/man/man1/nvme-ns-descs.1.gz
/usr/share/man/man1/nvme-ns-rescan.1.gz
/usr/share/man/man1/nvme-read.1.gz
/usr/share/man/man1/nvme-reset.1.gz
/usr/share/man/man1/nvme-resv-acquire.1.gz
/usr/share/man/man1/nvme-resv-register.1.gz
/usr/share/man/man1/nvme-resv-release.1.gz
/usr/share/man/man1/nvme-resv-report.1.gz
/usr/share/man/man1/nvme-sanitize-log.1.gz
/usr/share/man/man1/nvme-sanitize.1.gz
/usr/share/man/man1/nvme-security-recv.1.gz
/usr/share/man/man1/nvme-security-send.1.gz
/usr/share/man/man1/nvme-self-test-log.1.gz
/usr/share/man/man1/nvme-set-feature.1.gz
/usr/share/man/man1/nvme-set-property.1.gz
/usr/share/man/man1/nvme-show-hostnqn.1.gz
/usr/share/man/man1/nvme-show-regs.1.gz
/usr/share/man/man1/nvme-smart-log.1.gz
/usr/share/man/man1/nvme-subsystem-reset.1.gz
/usr/share/man/man1/nvme-telemetry-log.1.gz
/usr/share/man/man1/nvme-toshiba-clear-pcie-correctable-errors.1.gz
/usr/share/man/man1/nvme-toshiba-vs-internal-log.1.gz
/usr/share/man/man1/nvme-toshiba-vs-smart-add-log.1.gz
/usr/share/man/man1/nvme-transcend-badblock.1.gz
/usr/share/man/man1/nvme-transcend-healthvalue.1.gz
/usr/share/man/man1/nvme-virtium-save-smart-to-vtview-log.1.gz
/usr/share/man/man1/nvme-virtium-show-identify.1.gz
/usr/share/man/man1/nvme-wdc-cap-diag.1.gz
/usr/share/man/man1/nvme-wdc-clear-assert-dump.1.gz
/usr/share/man/man1/nvme-wdc-clear-fw-activate-history.1.gz
/usr/share/man/man1/nvme-wdc-clear-pcie-correctable-errors.1.gz
/usr/share/man/man1/nvme-wdc-drive-essentials.1.gz
/usr/share/man/man1/nvme-wdc-drive-log.1.gz
/usr/share/man/man1/nvme-wdc-drive-resize.1.gz
/usr/share/man/man1/nvme-wdc-get-crash-dump.1.gz
/usr/share/man/man1/nvme-wdc-get-drive-status.1.gz
/usr/share/man/man1/nvme-wdc-get-pfail-dump.1.gz
/usr/share/man/man1/nvme-wdc-id-ctrl.1.gz
/usr/share/man/man1/nvme-wdc-log-page-directory.1.gz
/usr/share/man/man1/nvme-wdc-namespace-resize.1.gz
/usr/share/man/man1/nvme-wdc-purge-monitor.1.gz
/usr/share/man/man1/nvme-wdc-purge.1.gz
/usr/share/man/man1/nvme-wdc-vs-drive-info.1.gz
/usr/share/man/man1/nvme-wdc-vs-error-reason-identifier.1.gz
/usr/share/man/man1/nvme-wdc-vs-fw-activate-history.1.gz
/usr/share/man/man1/nvme-wdc-vs-internal-log.1.gz
/usr/share/man/man1/nvme-wdc-vs-nand-stats.1.gz
/usr/share/man/man1/nvme-wdc-vs-smart-add-log.1.gz
/usr/share/man/man1/nvme-wdc-vs-telemetry-controller-option.1.gz
/usr/share/man/man1/nvme-write-uncor.1.gz
/usr/share/man/man1/nvme-write-zeroes.1.gz
/usr/share/man/man1/nvme-write.1.gz
/usr/share/man/man1/nvme.1.gz
/usr/share/zsh/site-functions/_nvme
References
Summary
In this tutorial we learn how to install nvme-cli
on Rocky Linux 8 using yum and dnf.