-
Notifications
You must be signed in to change notification settings - Fork 663
Building nvme‐cli
ksingh-ospo edited this page Jan 10, 2025
·
3 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 muon
For 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-static
$ yum install glibc-static
Dependencies (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