mpir
1.1、mpir简介
是什么 ?:a highly optimised library for bignum arithmetic forked from the GMP bignum library.
开发语言:C
官方主页:http://www.mpir.org
源码仓库:https://github.com/wbhart/mpir
1.2、通过包管理器安装mpir
操作系统包管理器安装命令
macOSHomeBrewbrew install mpir
GNU/LinuxHomeBrewbrew install mpir
aptsudo apt-get install -y mpir
CentOSyumsudo yum install -y mpir
dnfsudo dnf install -y mpir
openSUSEzyppersudo zypper install -y mpir-devel
Alpine Linuxapksudo apk add mpir

Arch Linux

ArcoLinux

Manjaro Linux

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