libidn2
1.1、libidn2简介
是什么 ?:library and utilities for encoding and decoding Internationalized Domain Names.
开发语言:C
官方主页:https://www.gnu.org/software/libidn
源码仓库:https://gitlab.com/libidn/libidn2
1.2、通过包管理器安装libidn2
操作系统包管理器安装命令
macOSHomeBrewbrew install libidn2
GNU/LinuxLinuxBrewbrew install libidn2
aptsudo apt-get install -y libidn2
CentOSyumsudo yum install -y libidn2
dnfsudo dnf install -y libidn2
openSUSEzyppersudo zypper install -y libidn2
Alpine Linuxapksudo apk add libidn2

Arch Linux

ArcoLinux

Manjaro Linux

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