Introduction to libslirp

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



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

Package Information

libslirp Dependencies



User Notes:

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