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

libslirp Dependencies



Installation of Libslirp

Install libslirp by running the following commands:

mkdir build &&
cd    build &&

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


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.


Installed Program: None
Installed Library:
Installed Directory: /usr/include/slirp

Short Descriptions

contains user-mode TCP-IP emulation functions