How to Install and Uninstall protoc-gen-go Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 23,2024

1. Install "protoc-gen-go" package

Please follow the instructions below to install protoc-gen-go on Ubuntu 24.04 LTS (Noble Numbat)

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

2. Uninstall "protoc-gen-go" package

Please follow the guidelines below to uninstall protoc-gen-go on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the protoc-gen-go package on Ubuntu 24.04 LTS (Noble Numbat)

Package: protoc-gen-go
Architecture: amd64
Version: 1.32.0-1
Priority: optional
Section: universe/devel
Source: golang-google-protobuf
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6142
Depends: libprotobuf-dev, protobuf-compiler
Conflicts: golang-goprotobuf-dev, protoc-gen-go-1-3, protoc-gen-go-1-5
Filename: pool/universe/g/golang-google-protobuf/protoc-gen-go_1.32.0-1_amd64.deb
Size: 2492356
MD5sum: e9b275364c3028d2e5978cbc7bb5d345
SHA1: 67ec961e91293dc856f8cb9709fb36028a225884
SHA256: e31784dec1f62ec4695b43c9aee3bb3474e98bfd2d95afc1ff44971744ea394e
SHA512: 3fa00a0d7d122aa748118e7badc040586612029b3abbaf5597c613454b8a9bdc0ee70802fd7b09a8bae8215bb206e3e65f2d1f74969c87d325ce4e8416760d01
Homepage: https://github.com/protocolbuffers/protobuf-go
Description: Go plugin for protobuf compiler (APIv2)
Description-md5: de89c175b2d408de1772318ee6de510c
Static-Built-Using: golang-1.21 (= 1.21.5-1), golang-github-google-go-cmp (= 0.6.0-1)