pkg.soopen package index

brew / 排名 59

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, scoop, winget, zypper, chocolatey 安装 protobuf

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install protobuf

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install protobuf

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

Linux

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

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

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

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

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

nixpkgs package indexes · protobuf · 来源: raw.githubusercontent.com

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

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

Debian apt已验证 · 92%
sudo apt install elpa-protobuf-mode

Debian stable package indexes · elpa-protobuf-mode · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install libprotobuf-lite34_2_0

openSUSE Tumbleweed package metadata · libprotobuf-lite34_2_0 · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install extras/protobuf

Scoop official bucket manifest trees · bucket/protobuf.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Google.Protobuf -e

Windows Package Manager source index · Google.Protobuf · 来源: cdn.winget.microsoft.com

Chocolatey已验证 · 92%
choco install protoc

Chocolatey community package catalog · protoc · 来源: community.chocolatey.org

概览

软件包摘要

Protocol buffers (Google's data interchange format)

命令和别名

  • protoc
  • protoc-36.0.0
  • protoc-gen-upb
  • protoc-gen-upb-36.0.0
  • protoc-gen-upb_minitable
  • protoc-gen-upb_minitable-36.0.0
  • protoc-gen-upbdefs
  • protoc-gen-upbdefs-36.0.0

历史

项目历史与用法

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.

时间线

  • 2001: Development of the internal Proto1 implementation began.
  • 2008: The rewritten Proto2 implementation was released as open source.
  • 2016: Proto3 was released.
  • 2023: Protobuf Editions were introduced to provide granular feature evolution.

Related projects

  • gRPC uses Protocol Buffers by default as its interface-definition and message format, invoking `protoc` with language-specific gRPC plugins.
  • Buf builds a broader Protobuf development workflow around `.proto` files, including formatting, linting, breaking-change detection, dependency management, and code generation.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
protoccli全局可执行文件
protoc-36.0.0cli全局可执行文件
protoc-gen-upbcli全局可执行文件
protoc-gen-upb-36.0.0cli全局可执行文件
protoc-gen-upb_minitablecli全局可执行文件
protoc-gen-upb_minitable-36.0.0cli全局可执行文件
protoc-gen-upbdefscli全局可执行文件
protoc-gen-upbdefs-36.0.0cli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-11-04
管理器版本36.2
管理器更新时间2026-09-19
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖abseil
构建依赖cmake
Bottle可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameprotobuf
Aliases
  • protobuf@36
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

elpa-protobuf-mode 3.21.12-11+deb13u1

Emacs addon for editing protocol buffers

https://github.com/google/protobuf/

sudo apt install elpa-protobuf-mode
  • Section: editors
  • Architecture: all
  • Source Package: protobuf
  • 2 依赖
  • normalized package name match
  • 匹配方式:Protobuf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: elpa-protobuf-mode from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libprotobuf-dev 3.21.12-11+deb13u1

protocol buffers C++ library (development files) and proto files

https://github.com/google/protobuf/

sudo apt install libprotobuf-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: protobuf
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Protobuf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libprotobuf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libprotobuf-java 3.21.12-11+deb13u1

Java bindings for protocol buffers

https://github.com/google/protobuf/

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

libprotobuf-lite32t64 3.21.12-11+deb13u1

protocol buffers C++ library (lite version)

https://github.com/google/protobuf/

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

libprotobuf32t64 3.21.12-11+deb13u1

protocol buffers C++ library

https://github.com/google/protobuf/

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

libprotoc-dev 3.21.12-11+deb13u1

protocol buffers compiler library (development files)

https://github.com/google/protobuf/

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

libprotoc32t64 3.21.12-11+deb13u1

protocol buffers compiler library

https://github.com/google/protobuf/

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

php-google-protobuf 3.21.12-11+deb13u1

PHP bindings for protocol buffers

https://github.com/google/protobuf/

sudo apt install php-google-protobuf
  • Section: php
  • Architecture: all
  • Source Package: protobuf
  • normalized package name match
  • 匹配方式:Protobuf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: php-google-protobuf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

protobuf-compiler 3.21.12-11+deb13u1

compiler for protocol buffer definition files

https://github.com/google/protobuf/

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

python3-protobuf 3.21.12-11+deb13u1

Python 3 bindings for protocol buffers

https://github.com/google/protobuf/

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

ruby-google-protobuf 3.21.12-11+deb13u1

Protocol Buffers

https://github.com/google/protobuf/

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

protobuf

nix profile install nixpkgs#protobuf
  • normalized package name match
  • 匹配方式:Protobuf
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: protobuf from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

elpa-protobuf-mode 3.21.12-8.2build1

Emacs addon for editing protocol buffers

https://github.com/google/protobuf/

sudo apt install elpa-protobuf-mode
  • Section: universe/editors
  • Architecture: all
  • Source Package: protobuf
  • 2 依赖
  • normalized package name match
  • 匹配方式:Protobuf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: elpa-protobuf-mode from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libprotobuf-dev 3.21.12-8.2build1

protocol buffers C++ library (development files) and proto files

https://github.com/google/protobuf/

sudo apt install libprotobuf-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: protobuf
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Protobuf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libprotobuf-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libprotobuf-java 3.21.12-8.2build1

Java bindings for protocol buffers

https://github.com/google/protobuf/

sudo apt install libprotobuf-java
  • Section: universe/devel
  • Architecture: all
  • Source Package: protobuf
  • 2 依赖
  • normalized package name match
  • 匹配方式:Protobuf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libprotobuf-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libprotobuf-lite32t64 3.21.12-8.2build1

protocol buffers C++ library (lite version)

https://github.com/google/protobuf/

sudo apt install libprotobuf-lite32t64
  • Section: libs
  • Architecture: amd64
  • Source Package: protobuf
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Protobuf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libprotobuf-lite32t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

来源线索

由仓库数据生成

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

使用的来源

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