protoc-c

Protocol Buffers C compiler (protobuf-c)

Install

All systems
curl cmd.cat/protoc-c.sh
Debian Debian
apt-get install protobuf-c-compiler
Ubuntu
apt-get install protobuf-c-compiler
Alpine
apk add protobuf-c
Arch Arch Linux
pacman -S protobuf-c
image/svg+xml Kali Linux
apt-get install protobuf-c-compiler
CentOS
yum install protobuf-c-compiler
Fedora
dnf install protobuf-c-compiler
Windows (WSL2)
sudo apt-get update sudo apt-get install protobuf-c-compiler
OS X
brew install protobuf-c
Raspbian
apt-get install protobuf-c-compiler
Docker
docker run cmd.cat/protoc-c protoc-c powered by Commando

protobuf-c-compiler

Protocol Buffers C compiler (protobuf-c)

Protocol Buffers are a flexible, efficient, automated mechanism for serializing structured data - similar to XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages. You can even update your data structure without breaking deployed programs that are compiled against the "old" format. This is the "protobuf-c" implementation of Protocol Buffers in C. This package contains the "protoc-c" code generator that creates C stubs from Protocol Buffers .proto files. These stubs must be compiled and linked against the libprotobuf-c support library.

protobuf-c

Protocol Buffers are a way of encoding structured data in an

efficient yet extensible format. This package provides a code generator and run-time libraries to use Protocol Buffers from pure C (not C++). It uses a modified version of protoc called protoc-c.