Skip to content

Building nvme‐cli

Daniel Wagner edited this page Dec 2, 2024 · 2 revisions

Minimal build

It's possible to build nvme-cli without using meson (Python based). muon is an implementation of the meson build system in c99 with minimal dependencies. The build.sh script provides the necessary steps for a minimal build:

  • make
  • gcc
  • git
$ build.sh -m muon

For some older distributions additional packages need to be installed, see sections below

Fedora

# dnf install json-c-devel openssl-devel keyutils-libs-devel dbus-devel python3-devel

CentOS 8

$ dnf config-manager --set-enabled powertools
$ dnf search glibc
$ dnf provides */libc.a
$ dnf install glibc-static

CentOS 7

$ yum install glibc-static