libmnl
1.1、libmnl简介
是什么 ?:a minimalistic user-space library oriented to Netlink developers. There are a lot of common tasks in parsing, validating, constructing of both the Netlink header and TLVs that are repetitive and easy to get wrong. This library aims to provide simple helpers that allows you to re-use code and to avoid re-inventing the wheel.
开发语言:C
官方主页:https://netfilter.org/projects/libmnl
源码仓库:https://git.netfilter.org/libmnl
1.2、通过包管理器安装libmnl
操作系统包管理器安装命令
aptsudo apt-get install -y libmnl
CentOSyumsudo yum install -y libmnl
dnfsudo dnf install -y libmnl
openSUSEzyppersudo zypper install -y libmnl
Alpine Linuxapksudo apk add libmnl

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm libmnl
Gentoo LinuxPortagesudo emerge libmnl
1.3、通过编译源码安装libmnl
1.4、libmnl中包含的头文件
1.6、libmnl中包含的库文件
  • libmnl.{a | so}