brotli
1.1、brotli简介
是什么 ?:Generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling
开发语言:C
开发公司:Google
源码仓库:https://github.com/google/brotli
1.2、通过包管理器安装brotli
操作系统包管理器安装命令
Allvcpkg
vcpkg install brotli
vcpkg install brotli:x64-osx
vcpkg install brotli:x64-linux
vcpkg install brotli:x64-windows
Windowsscoopscoop install brotli
macOSHomeBrewbrew install brotli
GNU/LinuxHomeBrewbrew install brotli
aptsudo apt-get install -y brotli1g brotli1g-dev
CentOSyumsudo yum install -y brotli brotli-devel
dnfsudo dnf install -y brotli brotli-devel
openSUSEzyppersudo zypper install -y brotli brotli-devel
Alpine Linuxapksudo apk add brotli

Arch Linux

ArcoLinux

Manjaro Linux

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