#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 17. Networking Libraries

- Prev

  libpsl-0.21.5

- Next

  libsoup-3.6.6

- Up
- Home

# libslirp-4.9.1

## Introduction to libslirp

Libslirp is a user-mode networking library used by virtual machines, containers or various tools.

### 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://gitlab.freedesktop.org/slirp/libslirp/-/archive/v4.9.1/libslirp-v4.9.1.tar.bz2

- Download MD5 sum: eefd3b2375453cf9d07375c389441685

- Download size: 130 KB

- Estimated disk space required: 3.1 MB

- Estimated build time: less than 0.1 SBU

### libslirp Dependencies

#### Required

GLib-2.88.0

## Installation of Libslirp

Install libslirp by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr --buildtype=release .. &&

    ninja

To test the results, issue: ninja test

Now, as the `root` user:

    ninja install

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

## Contents

Installed Program: None
Installed Library: libslirp.so
Installed Directory: /usr/include/slirp

### Short Descriptions

`libclirp.so` | contains user-mode TCP-IP emulation functions

- Prev

  libpsl-0.21.5

- Next

  libsoup-3.6.6

- Up
- Home