Expat
1.1、Expat简介
是什么 ?:a stream-oriented XML parser library
开发语言:C
官方主页:https://libexpat.github.io
源码仓库:https://github.com/libexpat/libexpat
1.2、通过包管理器安装Expat
操作系统包管理器安装命令
Allvcpkg
vcpkg install expat
vcpkg install expat:x64-osx
vcpkg install expat:x64-linux
vcpkg install expat:x64-windows
macOSHomeBrewbrew install expat
GNU/LinuxLinuxBrewbrew install expat
aptsudo apt-get install -y libexpat1 libexpat1-dev
CentOSyumsudo yum install -y expat expat-devel
dnfsudo dnf install -y expat expat-devel
openSUSEzyppersudo zypper install -y expat libexpat-devel
Alpine Linuxapksudo apk add expat expat-dev

Arch Linux

ArcoLinux

Manjaro Linux

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