grpc
1.1、grpc简介
short for:Google RPC
是什么 ?:a high performance, open-source universal RPC framework.
开发语言:C
官方主页:https://grpc.io
源码仓库:https://github.com/grpc/grpc
1.2、通过包管理器安装grpc
操作系统包管理器安装命令
Allvcpkg
vcpkg install grpc
vcpkg install grpc:x64-osx
vcpkg install grpc:x64-linux
vcpkg install grpc:x64-windows
WindowsChocolateychoco install -y grpc
macOSHomeBrewbrew install grpc
GNU/LinuxHomeBrewbrew install grpc
aptsudo apt-get install -y grpc
CentOSyumsudo yum install -y grpc grpc-devel
dnfsudo dnf install -y grpc grpc-devel
openSUSEzyppersudo zypper install -y grpc
Alpine Linuxapksudo apk add grpc grpc-dev grpc-libs

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm grpc
Gentoo LinuxPortagesudo emerge grpc
1.3、通过编译源码安装grpc
1.4、grpc中包含的命令
1.5、grpc中包含的头文件
1.6、grpc中包含的库文件
  • libgrpc.{a | so | dylib}
  • libgrpc_plugin_support.{a | so | dylib}
  • libgrpc_unsecure.{a | so | dylib}
  • libgrpcpp_channelz.{a | so | dylib}
  • libupb.{a | so | dylib}
  • libaddress_sorting.{a | so | dylib}
  • libgpr.{a | so | dylib}
  • libgrpc++.{a | so | dylib}
  • libgrpc++_alts.{a | so | dylib}
  • libgrpc++_error_details.{a | so | dylib}
  • libgrpc++_reflection.{a | so | dylib}
  • libgrpc++_unsecure.{a | so | dylib}