Introduction to libnl

The libnl suite is a collection of libraries providing APIs to netlink protocol based Linux kernel interfaces.

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

Package Information

User Notes:

Installation of libnl

Install libnl by running the following commands:

./configure --prefix=/usr     \
            --sysconfdir=/etc \
            --disable-static &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

--disable-cli: Use this parameter if you don't want to install cli tools provided by the package.


Installed Programs: genl-ctrl-list, nl-class-add, nl-class-delete, nl-classid-lookup, nl-class-list, nl-cls-add, nl-cls-delete, nl-cls-list, nl-link-list, nl-pktloc-lookup, nl-qdisc-add, nl-qdisc-delete, and nl-qdisc-list
Installed Libraries:,,,, and
Installed Directories: /etc/libnl, /usr/include/libnl3, and /usr/lib/libnl

Short Descriptions


These libraries contain API functions used to access Netlink interfaces in Linux kernel.

Last updated on 2013-09-04 14:37:09 -0700