#### Beyond Linux® From Scratch (systemd Edition) - Version r12.0-1685

### Chapter 17. Networking Libraries

- Prev

  libndp-1.8

- Next

  libsoup-2.74.3

- Up
- Home

# Libslirp-4.7.0

## Introduction to libslirp

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

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

### Package Information

- Download (HTTP): https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v4.7.0/libslirp-v4.7.0.tar.bz2

- Download MD5 sum: b815c4de99265559caf5ef635a213609

- Download size: 107 KB

- Estimated disk space required: 3.1 MB

- Estimated build time: less than 0.1 SBU

### libslirp Dependencies

#### Required

GLib-2.78.4

## Installation of Libslirp

Install libslirp by running the following commands:

    mkdir build &&
    cd    build &&

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

    ninja

This package does not come with a test suite.

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

  libndp-1.8

- Next

  libsoup-2.74.3

- Up
- Home