macOS
brew install protobuflocal Homebrew formula metadata
sudo port install protobufMacPorts ports tree · devel/protobuf/Portfile · source: api.github.com
brew / rank 59
Protocol buffers (Google's data interchange format). Version 36.2 via Homebrew; verified 2026-09-19. Also installable with debian: sudo apt install elpa-protobuf-mode.
install
brew install protobuflocal Homebrew formula metadata
sudo port install protobufMacPorts ports tree · devel/protobuf/Portfile · source: api.github.com
sudo apk add protobufAlpine Linux edge package indexes · protobuf · source: dl-cdn.alpinelinux.org
sudo dnf install protobufFedora Rawhide package metadata · protobuf · source: dl.fedoraproject.org
nix profile install nixpkgs#protobufnixpkgs package indexes · protobuf · source: raw.githubusercontent.com
sudo pacman -S protobufArch Linux sync databases · protobuf · source: geo.mirror.pkgbuild.com
sudo apt install elpa-protobuf-modeDebian stable package indexes · elpa-protobuf-mode · source: deb.debian.org
sudo zypper install libprotobuf-lite34_2_0openSUSE Tumbleweed package metadata · libprotobuf-lite34_2_0 · source: download.opensuse.org
scoop install extras/protobufScoop official bucket manifest trees · bucket/protobuf.json · source: api.github.com
winget install --id Google.Protobuf -eWindows Package Manager source index · Google.Protobuf · source: cdn.winget.microsoft.com
choco install protocChocolatey community package catalog · protoc · source: community.chocolatey.org
overview
Protocol buffers (Google's data interchange format)
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
protoc | cli | global executable | |
protoc-36.0.0 | cli | global executable | |
protoc-gen-upb | cli | global executable | |
protoc-gen-upb-36.0.0 | cli | global executable | |
protoc-gen-upb_minitable | cli | global executable | |
protoc-gen-upb_minitable-36.0.0 | cli | global executable | |
protoc-gen-upbdefs | cli | global executable | |
protoc-gen-upbdefs-36.0.0 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/protocolbuffers/protobuf
install metadata
| Package key | brew:protobuf |
|---|---|
| Version | 36.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/protobuf |
| Homepage | https://protobuf.dev/ |
| Repository | https://github.com/protocolbuffers/protobuf |
| Upstream docs | https://protobuf.dev/ |
| License | BSD-3-Clause |
| Source archive | https://github.com/protocolbuffers/protobuf/releases/download/v36.2/protobuf-36.2.tar.gz |
| Last updated | 2026-09-19T13:36:13Z |
| Pulse | updated |
| Dependencies | abseil |
| Build dependencies | cmake |
| Bottle | available (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-lite32t64source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.