Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 grpc

查看 grpc 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install grpc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install grpc

MacPorts ports tree · devel/grpc/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add grpc

Alpine Linux edge package indexes · grpc · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install grpc

Fedora Rawhide package metadata · grpc · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#grpc

nixpkgs package indexes · pkgs/by-name/gr/grpc/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S grpc

Arch Linux sync databases · grpc · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install libgrpc++-dev

Debian stable package indexes · libgrpc++-dev · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install grpc-devel

openSUSE Tumbleweed package metadata · grpc-devel · 来源: download.opensuse.org

概览

软件包摘要

Next generation open source RPC library and framework

命令和别名

  • grpc_cpp_plugin
  • grpc_csharp_plugin
  • grpc_node_plugin
  • grpc_objective_c_plugin
  • grpc_php_plugin
  • grpc_python_plugin
  • grpc_ruby_plugin

历史

项目历史与用法

gRPC is an open source, high-performance Remote Procedure Call framework used to define services with Protocol Buffers and generate client/server bindings across languages.

The Homebrew `grpc` package is especially package-manager-relevant because it ships native code and protocol-compiler plugins for multiple languages, making it part runtime library, part code-generation toolkit, and part distributed-systems plumbing.

项目历史

The gRPC design came from Google's internal Stubby RPC infrastructure. The official 2015 motivation and design post explains that Stubby had connected large numbers of Google microservices for more than a decade but was tied to internal infrastructure, while HTTP/2 and related public standards made an open rework practical.

gRPC was announced publicly in 2015 and reached 1.0 on 2016-08-23. The 1.0 announcement stated that C++, Java, Go, Node, Ruby, Python, and C# moved to 1.0 across Linux, Windows, and Mac, with Objective-C and Android Java support also moving to 1.0.

The 1.0 release established a stable core protocol and API surface, semantic versioning expectations, cross-language interoperability tests, and public performance measurements. That combination made gRPC packageable not only as a library but as a cross-language toolchain component.

CNCF accepted gRPC on 2017-02-16 at the Incubating maturity level. The CNCF project page identifies it as a high-performance open source universal RPC framework and exposes project health and contributor metrics through LFX insights.

采用历史

The 1.0 announcement described early usage in open source projects such as etcd, containerd, and CockroachDB and by companies including Netflix, Vendasta, YikYak, Carbon3D, Cisco, Juniper, Arista, and Ciena. It also cited Google Cloud APIs and TensorFlow using gRPC for API surfaces or inter-process communication.

The official site presents gRPC as useful across data centers, mobile applications, browsers, and backend services, with pluggable support for load balancing, tracing, health checking, and authentication.

gRPC-Web extended the model toward browser clients. The official gRPC-Web history notes work beginning in 2016, a 1.0/GA moment in 2018 for the Google implementation, and Envoy-proxy-based deployment patterns for translating browser requests to gRPC HTTP/2 services.

使用方式

Developers define services in `.proto` files, then use `protoc` and gRPC plugins to generate typed client and server code. The Homebrew package's executables are language plugins such as `grpc_cpp_plugin`, `grpc_csharp_plugin`, `grpc_node_plugin`, `grpc_objective_c_plugin`, `grpc_php_plugin`, `grpc_python_plugin`, and `grpc_ruby_plugin`.

Common package use is indirect: a developer installs `grpc` so builds can generate service stubs, compile native gRPC dependencies, or satisfy packages that need C-core-based language bindings.

gRPC's design goals explain why it became a package-manager staple: broad platform coverage, open licensing, interoperability over common infrastructure, general-purpose performance, streaming, blocking and non-blocking APIs, cancellation, flow control, pluggability, metadata, and standardized status codes.

为什么软件包爱好者会关心

gRPC is a dependency magnet. It appears in language package managers, OS package managers, Docker images, generated-code workflows, and cloud-native control planes because service definitions need compiler plugins and runtime libraries.

It also illustrates a hard packaging problem: one protocol family spans C/C++, Go, Java, Python, Ruby, PHP, Objective-C, C#, Node, web proxies, and generated artifacts. OS packages often expose only a slice of that surface while language ecosystems ship their own runtime packages.

For CLI and formula users, the codegen plugins are the visible part. A successful install often matters less because a human will run `grpc_cpp_plugin` directly and more because Bazel, CMake, Make, Gradle, or another build tool can find it during protocol generation.

时间线

  • 2014: CNCF project metrics list the first commit date as 2014-05-06.
  • 2015: gRPC design principles were published, describing the public rework of Google's Stubby ideas.
  • 2016: gRPC 1.0 was announced on 2016-08-23.
  • 2017: gRPC was accepted to CNCF at the Incubating maturity level.
  • 2018: gRPC-Web reached general availability for the Google implementation.
  • 2021: The gRPC C# project announced a shift toward grpc-dotnet for the future of C# usage.

Related projects

  • Protocol Buffers provide the default interface definition language and message encoding for gRPC.
  • grpc-go, grpc-java, grpc-node, grpc-dotnet, grpc-web, and other language implementations carry gRPC into specific ecosystems.
  • Envoy is commonly used as a gRPC and gRPC-Web proxy in cloud-native deployments.
  • grpc-gateway maps gRPC services to REST/JSON interfaces for mixed client environments.
  • etcd, containerd, CockroachDB, TensorFlow, and several Google Cloud APIs are prominent projects or services cited by official gRPC materials.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 5 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
grpc_cpp_plugincli全局可执行文件
grpc_csharp_plugincli全局可执行文件
grpc_node_plugincli全局可执行文件
grpc_objective_c_plugincli全局可执行文件
grpc_php_plugincli全局可执行文件
grpc_python_plugincli全局可执行文件
grpc_ruby_plugincli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.82.1
管理器更新时间2026-07-08
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/grpc/grpc

安装元数据

软件包元数据

软件包键brew:grpc
版本1.82.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/grpc
主页https://grpc.io/
仓库https://github.com/grpc/grpc
上游文档https://grpc.io/docs
许可证Apache-2.0
源码归档https://github.com/grpc/grpc.git
最后更新2026-07-08T16:33:49Z
Pulseupdated
依赖abseil, c-ares, openssl@3, protobuf, re2
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegrpc
Aliases
  • grpc@1.82
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libgrpc++-dev 1.51.1-6

high performance general RPC framework (development)

https://www.grpc.io/

sudo apt install libgrpc++-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: grpc
  • 8 依赖
  • normalized package name match
  • 匹配方式:Grpc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgrpc++-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgrpc++1.51t64 1.51.1-6

high performance general RPC framework

https://www.grpc.io/

sudo apt install libgrpc++1.51t64
  • Section: libs
  • Architecture: amd64
  • Source Package: grpc
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Grpc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgrpc++1.51t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgrpc-dev 1.51.1-6

high performance general RPC framework (development)

https://www.grpc.io/

sudo apt install libgrpc-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: grpc
  • 7 依赖
  • normalized package name match
  • 匹配方式:Grpc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgrpc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgrpc29t64 1.51.1-6

high performance general RPC framework

https://www.grpc.io/

sudo apt install libgrpc29t64
  • Section: libs
  • Architecture: amd64
  • Source Package: grpc
  • 10 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Grpc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgrpc29t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

protobuf-compiler-grpc 1.51.1-6

high performance general RPC framework - protobuf plugin

https://www.grpc.io/

sudo apt install protobuf-compiler-grpc
  • Section: libs
  • Architecture: amd64
  • Source Package: grpc
  • 7 依赖
  • normalized package name match
  • 匹配方式:Grpc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: protobuf-compiler-grpc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-grpcio 1.51.1-6

GRPC system (Python 3)

https://www.grpc.io/

sudo apt install python3-grpcio
  • Section: python
  • Architecture: amd64
  • Source Package: grpc
  • 9 依赖
  • normalized package name match
  • 匹配方式:Grpc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-grpcio from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ruby-grpc 1.51.1-6

GRPC system in Ruby

https://www.grpc.io/

sudo apt install ruby-grpc
  • Section: ruby
  • Architecture: amd64
  • Source Package: grpc
  • 6 依赖
  • normalized package name match
  • 匹配方式:Grpc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ruby-grpc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ruby-grpc-tools 1.51.1-6

Development tools for Ruby gRPC

https://www.grpc.io/

sudo apt install ruby-grpc-tools
  • Section: ruby
  • Architecture: all
  • Source Package: grpc
  • 3 依赖
  • normalized package name match
  • 匹配方式:Grpc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ruby-grpc-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

grpc

nix profile install nixpkgs#grpc
  • normalized package name match
  • 匹配方式:Grpc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gr/grpc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libgrpc++-dev 1.51.1-4.1build5

high performance general RPC framework (development)

https://www.grpc.io/

sudo apt install libgrpc++-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: grpc
  • 8 依赖
  • normalized package name match
  • 匹配方式:Grpc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgrpc++-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgrpc++1.51t64 1.51.1-4.1build5

high performance general RPC framework

https://www.grpc.io/

sudo apt install libgrpc++1.51t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: grpc
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Grpc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgrpc++1.51t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgrpc-dev 1.51.1-4.1build5

high performance general RPC framework (development)

https://www.grpc.io/

sudo apt install libgrpc-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: grpc
  • 7 依赖
  • normalized package name match
  • 匹配方式:Grpc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgrpc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgrpc29t64 1.51.1-4.1build5

high performance general RPC framework

https://www.grpc.io/

sudo apt install libgrpc29t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: grpc
  • 10 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Grpc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgrpc29t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

protobuf-compiler-grpc 1.51.1-4.1build5

high performance general RPC framework - protobuf plugin

https://www.grpc.io/

sudo apt install protobuf-compiler-grpc
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: grpc
  • 7 依赖
  • normalized package name match
  • 匹配方式:Grpc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: protobuf-compiler-grpc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-grpcio 1.51.1-4.1build5

GRPC system (Python 3)

https://www.grpc.io/

sudo apt install python3-grpcio
  • Section: universe/python
  • Architecture: amd64
  • Source Package: grpc
  • 9 依赖
  • normalized package name match
  • 匹配方式:Grpc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-grpcio from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ruby-grpc 1.51.1-4.1build5

GRPC system in Ruby

https://www.grpc.io/

sudo apt install ruby-grpc
  • Section: universe/ruby
  • Architecture: amd64
  • Source Package: grpc
  • 6 依赖
  • normalized package name match
  • 匹配方式:Grpc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ruby-grpc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment