macOS
brew install protobuf-clocal Homebrew formula metadata
sudo port install protobuf-cMacPorts ports tree · devel/protobuf-c/Portfile · Source: api.github.com
brew / rang 693
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de protobuf-c pour les workflows d'agents IA.
installation
brew install protobuf-clocal Homebrew formula metadata
sudo port install protobuf-cMacPorts ports tree · devel/protobuf-c/Portfile · Source: api.github.com
sudo apk add protobuf-cAlpine Linux edge package indexes · protobuf-c · Source: dl-cdn.alpinelinux.org
sudo dnf install protobuf-cFedora Rawhide package metadata · protobuf-c · Source: dl.fedoraproject.org
sudo pacman -S protobuf-cArch Linux sync databases · protobuf-c · Source: geo.mirror.pkgbuild.com
sudo apt install libprotobuf-c-devDebian stable package indexes · libprotobuf-c-dev · Source: deb.debian.org
sudo zypper install libprotobuf-c1openSUSE Tumbleweed package metadata · libprotobuf-c1 · Source: download.opensuse.org
aperçu
Protocol buffers library
historique
protobuf-c is a C implementation of Protocol Buffers comprising a serialization runtime library and a `protoc` code-generation plugin.
Dave Benson originally wrote protobuf-c as a C implementation of Google's Protocol Buffers and maintained it through version 0.15. Maintenance later passed to a new team.
The project includes `libprotobuf-c` for encoding and decoding and `protoc-gen-c`, formerly commonly invoked as `protoc-c`, for generating C descriptors and bindings from `.proto` definitions. Its former RPC implementation was separated into the protobuf-c-rpc project.
Beginning with version 1.0.0, protobuf-c adopted Semantic Versioning and generated headers gained version guards to detect incompatible compiler and runtime combinations.
protobuf-c is widely distributed as both a development library and command-line code generator. The supplied package facts record packages across Homebrew, Alpine, Debian, Ubuntu, Fedora, Arch Linux, openSUSE, and MacPorts.
The project survived a maintainer transition after Dave Benson maintained it through version 0.15. A new team continued development, standardized semantic versioning at 1.0.0, and maintained compatibility with successive releases of Google's protobuf compiler and runtime.
Write message schemas as `.proto` files and run the upstream `protoc` compiler with the protobuf-c plugin to generate `.pb-c.c` and `.pb-c.h` files.
Compile the generated C source into the application and link it with `libprotobuf-c`; the official README documents discovering compiler and linker flags with `pkg-config`.
The maintainers recommend regenerating bindings during the build rather than committing stale generated files, because generated headers and the installed runtime may become incompatible.
protobuf-c provides Protocol Buffers interoperability for programs that need a C ABI and runtime rather than the upstream C++ implementation. Its split between generated descriptor code and a packaged runtime library makes compiler/runtime version skew an important concern for distribution maintainers.
It is a classic systems-package dependency: distributions commonly separate runtime and development packages, while builds discover it through `pkg-config`. Package maintainers must coordinate the C library, `protoc-gen-c`, and the upstream protobuf compiler.
posture de sécurité
library-like package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
protoc-c | cli | exécutable global | |
protoc-gen-c | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/protobuf-c/protobuf-c
métadonnées d'installation
| Clé du paquet | brew:protobuf-c |
|---|---|
| Version | 1.5.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/protobuf-c |
| Page d'accueil | https://github.com/protobuf-c/protobuf-c |
| Dépôt | https://github.com/protobuf-c/protobuf-c |
| Licence | BSD-2-Clause |
| Archive source | https://github.com/protobuf-c/protobuf-c/releases/download/v1.5.2/protobuf-c-1.5.2.tar.gz |
| Dernière mise à jour | 2026-09-10T10:43:12Z |
| Pulse | updated |
| Dépendances | abseil, protobuf |
| Dépendances de compilation | pkgconf |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | protobuf-c |
| Version Scheme | 0 |
| Revision | 18 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
libprotobuf-c-dev 1.5.1-1
Protocol Buffers C static library and headers (protobuf-c)
https://github.com/protobuf-c/protobuf-c
sudo apt install libprotobuf-c-devlibprotobuf-c1 1.5.1-1
Protocol Buffers C shared library (protobuf-c)
https://github.com/protobuf-c/protobuf-c
sudo apt install libprotobuf-c1protobuf-c-compiler 1.5.1-1
Protocol Buffers C compiler (protobuf-c)
https://github.com/protobuf-c/protobuf-c
sudo apt install protobuf-c-compilerlibprotobuf-c-dev 1.4.1-1ubuntu4
Protocol Buffers C static library and headers (protobuf-c)
https://github.com/protobuf-c/protobuf-c
sudo apt install libprotobuf-c-devlibprotobuf-c1 1.4.1-1ubuntu4
Protocol Buffers C shared library (protobuf-c)
https://github.com/protobuf-c/protobuf-c
sudo apt install libprotobuf-c1protobuf-c-compiler 1.4.1-1ubuntu4
Protocol Buffers C compiler (protobuf-c)
https://github.com/protobuf-c/protobuf-c
sudo apt install protobuf-c-compilerprotobuf-c 1.5.2-r3
Protocol Buffers implementation in C
https://github.com/protobuf-c/protobuf-c
sudo apk add protobuf-cprotobuf-c-compiler 1.5.2-r3
Protocol Buffers C compiler
https://github.com/protobuf-c/protobuf-c
sudo apk add protobuf-c-compilerprotobuf-c-dev 1.5.2-r3
Protocol Buffers implementation in C (development files)
https://github.com/protobuf-c/protobuf-c
sudo apk add protobuf-c-devprotobuf-c 1.5.2-5.fc45
C bindings for Google's Protocol Buffers
https://github.com/protobuf-c/protobuf-c
sudo dnf install protobuf-cprotobuf-c-compiler 1.5.2-5.fc45
Protocol Buffers C compiler
https://github.com/protobuf-c/protobuf-c
sudo dnf install protobuf-c-compilerprotobuf-c-devel 1.5.2-5.fc45
Protocol Buffers C headers and libraries
https://github.com/protobuf-c/protobuf-c
sudo dnf install protobuf-c-develprotobuf3-c 1.5.2-52.fc45
C bindings for Google's Protocol Buffers
https://github.com/protobuf-c/protobuf-c
sudo dnf install protobuf3-cprotobuf-c 1.5.2-14
Protocol Buffers implementation in C
https://github.com/protobuf-c/protobuf-c
sudo pacman -S protobuf-clibprotobuf-c1 1.5.2-2.6
C bindings for Google's Protocol Buffers
https://github.com/protobuf-c/protobuf-c
sudo zypper install libprotobuf-c1protobuf-c-devel 1.5.2-2.6
protobuf generator and headers
https://github.com/protobuf-c/protobuf-c
sudo zypper install protobuf-c-develpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.