How to Install and Uninstall protoc-gen-go Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: September 20,2024

1. Install "protoc-gen-go" package

This guide covers the steps necessary to install protoc-gen-go on Ubuntu 23.10 (Mantic Minotaur)

$ 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 Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the protoc-gen-go package on Ubuntu 23.10 (Mantic Minotaur)

Package: protoc-gen-go
Architecture: amd64
Version: 1.28.1-3ubuntu0.1
Built-Using: golang-1.21 (= 1.21.1-1ubuntu0.23.10.1), golang-github-google-go-cmp (= 0.5.9-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: 5894
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.28.1-3ubuntu0.1_amd64.deb
Size: 2036714
MD5sum: e708f4272e99a49a085ad069e4036361
SHA1: fb096454364db1c31ef84934f4b3166ac4d29218
SHA256: c6de47591e5c78b4d56895fe4e93f16b9b91184d74390533bb9ffd06d3bc66b6
SHA512: 33c41460e333a2d4d27a649b427a365556948ef5a40d9b72eca492ec0619de6f9920f30193be85d5c995a2f40210ddb2cbde5903955a83893f133e833b5ad652
Homepage: https://github.com/protocolbuffers/protobuf-go
Description: Go plugin for protobuf compiler (APIv2)
Description-md5: de89c175b2d408de1772318ee6de510c

Package: protoc-gen-go
Architecture: amd64
Version: 1.28.1-3build1
Built-Using: golang-1.21 (= 1.21.0-1), golang-github-google-go-cmp (= 0.5.9-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: 5898
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.28.1-3build1_amd64.deb
Size: 2037490
MD5sum: 7efeee6649a12f7fb5eb43e839793bda
SHA1: 12c27215303a7b4e2ec0fb3e862204e2a205816d
SHA256: ec40cd3b2e7e6de5111d78ff22aa3f88c6c094285b5c69c9c1d9f323b75d8157
SHA512: cfdea7a50246f424d9668bc58f828e1ab81b65cde976e80e05d1bcb239f65677206b742927cbc0aed7442a090ad710face86eda1f37a89e8b4fc7cc027689ee3
Homepage: https://github.com/protocolbuffers/protobuf-go
Description: Go plugin for protobuf compiler (APIv2)
Description-md5: de89c175b2d408de1772318ee6de510c