macOS
brew install protobuflocal Homebrew formula metadata
sudo port install protobufMacPorts ports tree · devel/protobuf/Portfile · 来源: api.github.com
安装
brew install protobuflocal Homebrew formula metadata
sudo port install protobufMacPorts ports tree · devel/protobuf/Portfile · 来源: api.github.com
sudo apk add protobufAlpine Linux edge package indexes · protobuf · 来源: dl-cdn.alpinelinux.org
sudo dnf install protobufFedora Rawhide package metadata · protobuf · 来源: dl.fedoraproject.org
nix profile install nixpkgs#protobufnixpkgs package indexes · protobuf · 来源: raw.githubusercontent.com
sudo pacman -S protobufArch Linux sync databases · protobuf · 来源: geo.mirror.pkgbuild.com
sudo apt install elpa-protobuf-modeDebian stable package indexes · elpa-protobuf-mode · 来源: deb.debian.org
sudo zypper install libprotobuf-lite34_2_0openSUSE Tumbleweed package metadata · libprotobuf-lite34_2_0 · 来源: download.opensuse.org
scoop install extras/protobufScoop official bucket manifest trees · bucket/protobuf.json · 来源: api.github.com
winget install --id Google.Protobuf -eWindows Package Manager source index · Google.Protobuf · 来源: cdn.winget.microsoft.com
choco install protocChocolatey community package catalog · protoc · 来源: community.chocolatey.org
概览
Protocol buffers (Google's data interchange format)
历史
Protocol Buffers is Google's language-neutral, platform-neutral schema language, binary serialization format, compiler, and set of generated-code runtimes.
Google began developing the first internal Protocol Buffers implementation, later called Proto1, in early 2001. As it accumulated features and internal dependencies, the team concluded it was unsuitable for public release.
Proto2 was a clean rewrite preserving much of the earlier design while removing dependencies on closed Google libraries. It was released as open source in 2008.
Proto3 arrived in 2016 with a simplified language model and broader cross-language use. Editions were introduced later to replace coarse language-version transitions with granular feature selection while preserving compatibility.
Protocol Buffers became Google's most commonly used structured-data format and is used extensively for inter-server communication and durable storage. Google open-sourced the technology in 2008 so external projects and public APIs could use the same format.
The ecosystem extends far beyond the compiler and core runtimes: RPC systems such as gRPC use `.proto` schemas for service definitions, while tools such as Buf add schema linting, compatibility checks, dependency management, and generation workflows.
Define messages and, optionally, services in `.proto` files. Run `protoc` with the desired language generators or plugins during the build, then use the generated APIs and language runtime to construct, serialize, parse, and evolve messages.
Preserve field numbers and follow the documented schema-evolution rules because serialized data and independently deployed producers and consumers may remain in use for long periods.
Protocol Buffers has no application-wide user configuration or credential file; project behavior is expressed through schema files, compiler flags, build-system rules, and plugin-specific configuration.
Protocol Buffers is both a wire format and a schema-driven code-generation ecosystem. Package enthusiasts care about `protoc`, its language runtimes and plugin protocol, cross-language compatibility guarantees, compact encoding, and the discipline required to evolve field numbers and types safely.
It is a foundational package rather than merely a standalone CLI: many builds install it to compile schemas into native source code, and mismatches between compilers, runtimes, generated code, and plugins are an important part of dependency management.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
protoc | cli | 全局可执行文件 | |
protoc-36.0.0 | cli | 全局可执行文件 | |
protoc-gen-upb | cli | 全局可执行文件 | |
protoc-gen-upb-36.0.0 | cli | 全局可执行文件 | |
protoc-gen-upb_minitable | cli | 全局可执行文件 | |
protoc-gen-upb_minitable-36.0.0 | cli | 全局可执行文件 | |
protoc-gen-upbdefs | cli | 全局可执行文件 | |
protoc-gen-upbdefs-36.0.0 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/protocolbuffers/protobuf
安装元数据
| 软件包键 | brew:protobuf |
|---|---|
| 版本 | 36.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/protobuf |
| 主页 | https://protobuf.dev/ |
| 仓库 | https://github.com/protocolbuffers/protobuf |
| 上游文档 | https://protobuf.dev/ |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://github.com/protocolbuffers/protobuf/releases/download/v36.2/protobuf-36.2.tar.gz |
| 最后更新 | 2026-09-19T13:36:13Z |
| Pulse | updated |
| 依赖 | abseil |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | protobuf |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
elpa-protobuf-mode 3.21.12-11+deb13u1
Emacs addon for editing protocol buffers
https://github.com/google/protobuf/
sudo apt install elpa-protobuf-modelibprotobuf-dev 3.21.12-11+deb13u1
protocol buffers C++ library (development files) and proto files
https://github.com/google/protobuf/
sudo apt install libprotobuf-devlibprotobuf-java 3.21.12-11+deb13u1
Java bindings for protocol buffers
https://github.com/google/protobuf/
sudo apt install libprotobuf-javalibprotobuf-lite32t64 3.21.12-11+deb13u1
protocol buffers C++ library (lite version)
https://github.com/google/protobuf/
sudo apt install libprotobuf-lite32t64libprotobuf32t64 3.21.12-11+deb13u1
protocol buffers C++ library
https://github.com/google/protobuf/
sudo apt install libprotobuf32t64libprotoc-dev 3.21.12-11+deb13u1
protocol buffers compiler library (development files)
https://github.com/google/protobuf/
sudo apt install libprotoc-devlibprotoc32t64 3.21.12-11+deb13u1
protocol buffers compiler library
https://github.com/google/protobuf/
sudo apt install libprotoc32t64php-google-protobuf 3.21.12-11+deb13u1
PHP bindings for protocol buffers
https://github.com/google/protobuf/
sudo apt install php-google-protobufprotobuf-compiler 3.21.12-11+deb13u1
compiler for protocol buffer definition files
https://github.com/google/protobuf/
sudo apt install protobuf-compilerpython3-protobuf 3.21.12-11+deb13u1
Python 3 bindings for protocol buffers
https://github.com/google/protobuf/
sudo apt install python3-protobufruby-google-protobuf 3.21.12-11+deb13u1
Protocol Buffers
https://github.com/google/protobuf/
sudo apt install ruby-google-protobufprotobuf
nix profile install nixpkgs#protobufelpa-protobuf-mode 3.21.12-8.2build1
Emacs addon for editing protocol buffers
https://github.com/google/protobuf/
sudo apt install elpa-protobuf-modelibprotobuf-dev 3.21.12-8.2build1
protocol buffers C++ library (development files) and proto files
https://github.com/google/protobuf/
sudo apt install libprotobuf-devlibprotobuf-java 3.21.12-8.2build1
Java bindings for protocol buffers
https://github.com/google/protobuf/
sudo apt install libprotobuf-javalibprotobuf-lite32t64 3.21.12-8.2build1
protocol buffers C++ library (lite version)
https://github.com/google/protobuf/
sudo apt install libprotobuf-lite32t64来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.