libnvme-1.16.2

#### Beyond Linux® From Scratch (System V Edition) - Version r13.1-84

### Chapter 9. General Libraries

- Prev

  libmbim-1.34.0

- Next

  libpaper-2.2.8

- Up
- Home

# libnvme-1.16.2

## 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.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://github.com/linux-nvme/libnvme/archive/v1.16.2/libnvme-1.16.2.tar.gz

- Download MD5 sum: a6554fb50022d762021fc1e949e01520

- Download size: 820 KB

- Estimated disk space required: 34 MB

- Estimated build time: 0.1 SBU (including tests)

### libnvme Dependencies

#### Optional

dbus-1.16.2, json-c-0.19, keyutils-1.6.3, and SWIG-4.5.1 (to generate the Python bindings)

## Installation of libnvme

Install libnvme by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr --buildtype=release -D libdbus=auto .. &&
    ninja

To run the tests, issue: ninja test.

Now, as the `root` user:

    ninja 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.

- Prev

  libmbim-1.34.0

- Next

  libpaper-2.2.8

- Up
- Home