zlib
1.1、zlib简介
是什么 ?:General-purpose lossless data-compression library.
开发语言:C
官方主页:http://www.zlib.net
源码仓库:https://github.com/madler/zlib
1.2、通过包管理器安装zlib
操作系统包管理器安装命令
Allvcpkg
vcpkg install zlib
vcpkg install zlib:x64-osx
vcpkg install zlib:x64-linux
vcpkg install zlib:x64-windows
macOSHomeBrewbrew install zlib
GNU/LinuxHomeBrewbrew install zlib
aptsudo apt-get install -y zlib1g zlib1g-dev
CentOSyumsudo yum install -y zlib zlib-devel
dnfsudo dnf install -y zlib zlib-devel
openSUSEzyppersudo zypper install -y zlib zlib-devel
Alpine Linuxapksudo apk add zlib

Arch Linux

ArcoLinux

Manjaro Linux

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