pkg.soopen package index

brew / rank 59

Install protobuf with Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, scoop, winget, zypper, chocolatey

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

Additional install commands

macOS

Homebrewverified · 100%
brew install protobuf

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install protobuf

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

Linux

Alpine Linux apkverified · 92%
sudo apk add protobuf

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

Fedora dnfverified · 92%
sudo dnf install protobuf

Fedora Rawhide package metadata · protobuf · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#protobuf

nixpkgs package indexes · protobuf · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S protobuf

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

Debian aptverified · 92%
sudo apt install elpa-protobuf-mode

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

openSUSE zypperverified · 92%
sudo zypper install libprotobuf-lite34_2_0

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

Windows

Scoopverified · 92%
scoop install extras/protobuf

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

Windows Package Managerverified · 92%
winget install --id Google.Protobuf -e

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

Chocolateyverified · 92%
choco install protoc

Chocolatey community package catalog · protoc · source: community.chocolatey.org

overview

Package summary

Protocol buffers (Google's data interchange format)

Commands and aliases

  • 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

history

Project history and usage

Protocol Buffers is Google's language-neutral, platform-neutral schema language, binary serialization format, compiler, and set of generated-code runtimes.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 5 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
protoccliglobal executable
protoc-36.0.0cliglobal executable
protoc-gen-upbcliglobal executable
protoc-gen-upb-36.0.0cliglobal executable
protoc-gen-upb_minitablecliglobal executable
protoc-gen-upb_minitable-36.0.0cliglobal executable
protoc-gen-upbdefscliglobal executable
protoc-gen-upbdefs-36.0.0cliglobal executable

freshness

Version and 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.

page generated2026-11-04
manager version36.2
manager updated2026-09-19
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/protocolbuffers/protobuf

install metadata

Package metadata

Package keybrew:protobuf
Version36.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/protobuf
Homepagehttps://protobuf.dev/
Repositoryhttps://github.com/protocolbuffers/protobuf
Upstream docshttps://protobuf.dev/
LicenseBSD-3-Clause
Source archivehttps://github.com/protocolbuffers/protobuf/releases/download/v36.2/protobuf-36.2.tar.gz
Last updated2026-09-19T13:36:13Z
Pulseupdated
Dependenciesabseil
Build dependenciescmake
Bottleavailable (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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