#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 9. General Libraries

- Prev

  libmbim-1.26.4

- Next

  libpaper-2.2.6

- Up
- Home

# libnvme-1.11.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.3 platform.

### Package Information

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

- Download MD5 sum: b6d2e2277c81d25a213636ac97a311af

- Download size: 724 KB

- Estimated disk space required: 19 MB

- Estimated build time: 0.1 SBU (including tests)

### libnvme Dependencies

#### Optional

dbus-1.16.0, JSON-C-0.18, keyutils-1.6.3, and SWIG-4.3.0

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

### Short Descriptions

`libnvme.so` | contains functions used to handle operations relating to NVMe devices.

- Prev

  libmbim-1.26.4

- Next

  libpaper-2.2.6

- Up
- Home