-
Notifications
You must be signed in to change notification settings - Fork 695
Building nvme‐cli
Daniel Wagner edited this page Jun 2, 2025
·
5 revisions
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 muonFor some older distributions additional packages need to be installed, see sections below
# dnf install json-c-devel openssl-devel keyutils-libs-devel dbus-devel python3-devel$ dnf config-manager --set-enabled powertools
$ dnf search glibc
$ dnf provides */libc.a
$ dnf install glibc-staticDependencies (if using meson)
$ sudo apt install gcc make git
$ sudo pip3 install meson
$ sudo apt-get install python3 python3-pip python3-setuptools python3-wheel ninja-build
$ sudo apt install cmake swig libjson-c-dev libssl-dev libkeyutils-dev pkg-config# zypper install git meson gcc libjson-c-devel keyutils-devel openssl-develFor EOL distributions below are not supported for the muon minimal build
$ dnf config-manager --set-enabled powertools
$ dnf search glibc
$ dnf provides */libc.a
$ dnf install glibc-static$ yum install glibc-static