How to Install and Uninstall protoc-gen-go Package on Debian 11 (Bullseye)

Last updated: December 23,2024

1. Install "protoc-gen-go" package

This is a short guide on how to install protoc-gen-go on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install protoc-gen-go

2. Uninstall "protoc-gen-go" package

In this section, we are going to explain the necessary steps to uninstall protoc-gen-go on Debian 11 (Bullseye):

$ sudo apt remove protoc-gen-go $ sudo apt autoclean && sudo apt autoremove

3. Information about the protoc-gen-go package on Debian 11 (Bullseye)

Package: protoc-gen-go
Source: golang-google-protobuf (1.25.0+git20201208.160c747-1)
Version: 1.25.0+git20201208.160c747-1+b5
Installed-Size: 5954
Maintainer: Debian Go Packaging Team
Architecture: amd64
Depends: libprotobuf-dev, protobuf-compiler
Conflicts: golang-goprotobuf-dev
Description: Go support for Protocol Buffers (protoc compiler plugin)
Description-md5: 35ae435f533eaf1407075f2b1a2992c9
Homepage: https://github.com/protocolbuffers/protobuf-go
Built-Using: golang-1.15 (= 1.15.9-6), golang-github-google-go-cmp (= 0.5.4-1), golang-golang-x-xerrors (= 0.0~git20191204.9bdfabe-1)
Section: devel
Priority: optional
Filename: pool/main/g/golang-google-protobuf/protoc-gen-go_1.25.0+git20201208.160c747-1+b5_amd64.deb
Size: 1734948
MD5sum: f98f1e5565772bf81cd1c73bfd3e8fd9
SHA256: 2650138ecfa4be3b685dc626c5473aedcf9e6a78255309bdd6f0ebbbc0a9b895