libnvme-1.16.1

Introduction to libnvme

The libnvme package is a library which provides type definitions for NVMe specification structures, enumerations, and bit fields, helper functions to construct, dispatch, and decode commands and payloads, and utilities to connect, scan, and manage NVMe devices on a Linux system.

This package is known to build and work properly using an LFS 12.4 platform.

Package Information

Installation of libnvme

Prepare libnvme by running the following commands:

meson setup build --prefix=/usr --buildtype=release -D libdbus=auto

To build the package, issue:

ninja -C build

To run the tests, issue:

ninja -C build test

Now Install the package, as the root user:

ninja -C build install

Contents

Installed Programs: None
Installed Library: libnvme.so and libnvme-mi.so
Installed Directories: /usr/include/nvme and optionally /usr/lib/python3.14/site-packages/libnvme

Short Descriptions

libnvme.so

contains functions used to handle operations relating to NVMe devices.