pkg.soopen package index

brew / Rang 1367

protoc-gen-go mit Homebrew, apk, apt, Nix, zypper, dnf installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für protoc-gen-go in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install protoc-gen-go

local Homebrew formula metadata

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add protoc-gen-go

Alpine Linux edge package indexes · protoc-gen-go · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install protoc-gen-go

Debian stable package indexes · protoc-gen-go · Quelle: deb.debian.org

Nixverifiziert · 92%
nix profile install nixpkgs#protoc-gen-go

nixpkgs package indexes · pkgs/by-name/pr/protoc-gen-go/package.nix · Quelle: api.github.com

openSUSE zypperverifiziert · 92%
sudo zypper install protoc-gen-go

openSUSE Tumbleweed package metadata · protoc-gen-go · Quelle: download.opensuse.org

Fedora dnfverifiziert · 92%
sudo dnf install golang-google-protobuf

Fedora Rawhide package metadata · golang-google-protobuf · Quelle: dl.fedoraproject.org

Überblick

Paketzusammenfassung

Go support for Google's protocol buffers

Befehle und Aliase

  • protoc-gen-go

Verlauf

Projektgeschichte und Nutzung

protoc-gen-go is the official Protocol Buffers compiler plugin for generating Go message types and supporting code from .proto schemas. It belongs to the google.golang.org/protobuf implementation and is distinct from the gRPC-specific Go generator.

Projektgeschichte

Go's first Protocol Buffer bindings were announced in March 2010 and included both a protoc code-generation plugin and a Go runtime package.

On 2 March 2020, the Go team released google.golang.org/protobuf as APIv2, a major overhaul adding first-class protobuf reflection, dynamic messages, improved testing support, and a cleaned-up API surface. protoc-gen-go is the compiler plugin within that module.

On 16 December 2024, the Go team announced the Opaque generated-code API. The established Open Struct API remained supported, allowing users to migrate without an abrupt removal of existing generated-code behavior.

Adoptionsgeschichte

The Go protobuf bindings grew alongside Go from their initial pre-Go-1 form into a widely used serialization foundation. The 2020 APIv2 module allowed gradual adoption by making the older APIv1 module interoperate with the new implementation.

The generator is packaged across Homebrew and multiple Linux-oriented package managers in source_facts.package-manager, while upstream recommends installation with go install. It is routinely used by Go projects that exchange protobuf messages or combine message generation with gRPC service generation.

Wie es verwendet wird

Install the plugin with go install, ensure it is on PATH, and invoke protoc with --go_out plus any --go_opt values. Each generated Go package needs an import path, usually supplied through the .proto file's go_package option; output placement can be import-path-based or source-relative. The tool uses command-line options and schema declarations rather than a documented persistent config or credentials file.

Warum Paket-Nerds sich dafür interessieren

protoc-gen-go sits at the boundary between a language-neutral schema compiler and Go's module ecosystem. Generator version, runtime-library version, import-path mapping, and generated-code API selection can materially affect reproducibility and compatibility.

The 2020 APIv2 migration and the later Opaque API illustrate how a mature code generator can evolve representation and reflection behavior while retaining compatibility paths for existing generated code.

Zeitleiste

  • 2010: The first Go Protocol Buffer bindings and compiler plugin were announced.
  • 2020: google.golang.org/protobuf APIv2 was released with a redesigned runtime and generator ecosystem.
  • 2024: The Opaque generated-code API was announced while the Open Struct API remained supported.

Related projects

  • protoc is the Protocol Buffers compiler that discovers and invokes protoc-gen-go.
  • google.golang.org/protobuf is the generator's accompanying Go runtime and reflection module.
  • protoc-gen-go-grpc separately generates gRPC client and server bindings from service declarations.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
protoc-gen-gocliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-09-19
Manager-Version1.36.12
Manager aktualisiert2026-09-13
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv1.36.12

https://github.com/protocolbuffers/protobuf-go

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:protoc-gen-go
Version1.36.12
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/protoc-gen-go
Homepagehttps://github.com/protocolbuffers/protobuf-go
Repositoryhttps://github.com/protocolbuffers/protobuf-go
LizenzBSD-3-Clause
Quellarchivhttps://github.com/protocolbuffers/protobuf-go/archive/refs/tags/v1.36.12.tar.gz
Zuletzt aktualisiert2026-09-13T09:40:44+02:00
Pulseupdated
Abhängigkeitenprotobuf
Build-Abhängigkeitengo
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameprotoc-gen-go
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

protoc-gen-go 1.36.5-1

Go plugin for protobuf compiler (APIv2)

https://github.com/protocolbuffers/protobuf-go

sudo apt install protoc-gen-go
  • Section: devel
  • Architecture: amd64
  • Source Package: golang-google-protobuf
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Protoc Gen Go
Debian stable package indexes · deb.debian.org · Debian stable package indexes: protoc-gen-go from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

protoc-gen-go

nix profile install nixpkgs#protoc-gen-go
  • normalized package name match
  • Abgeglichen nach: Protoc Gen Go
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pr/protoc-gen-go/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

protoc-gen-go 1.32.0-1

Go plugin for protobuf compiler (APIv2)

https://github.com/protocolbuffers/protobuf-go

sudo apt install protoc-gen-go
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: golang-google-protobuf
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Protoc Gen Go
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: protoc-gen-go from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

protoc-gen-go 1.36.11-r6

Protocol Buffers Go generator

https://github.com/protocolbuffers/protobuf-go

sudo apk add protoc-gen-go
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: protoc-gen-go
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Protoc Gen Go
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: protoc-gen-go from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

golang-google-protobuf 1.31.0-16.fc45

Go support for Google's protocol buffers

https://github.com/protocolbuffers/protobuf-go

sudo dnf install golang-google-protobuf
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: golang-google-protobuf
  • 3 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Protoc Gen Go
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: golang-google-protobuf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
zypper95%

protoc-gen-go 1.34.2-1.9

Go support for Google's protocol buffers

https://github.com/golang/protobuf

sudo zypper install protoc-gen-go
  • License: BSD-3-Clause
  • Category: Development/Languages/Go
  • Architecture: x86_64
  • Source Package: protoc-gen-go
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Protoc Gen Go
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: protoc-gen-go from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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