How to Install and Uninstall gopls Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: November 07,2024

1. Install "gopls" package

This tutorial shows how to install gopls on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install gopls

2. Uninstall "gopls" package

Learn how to uninstall gopls on Ubuntu 22.10 (Kinetic Kudu):

$ sudo apt remove gopls $ sudo apt autoclean && sudo apt autoremove

3. Information about the gopls package on Ubuntu 22.10 (Kinetic Kudu)

Package: gopls
Architecture: amd64
Version: 1:0.1.12+ds-1
Built-Using: golang-1.19 (= 1.19-1ubuntu2), golang-github-google-go-cmp (= 0.5.8-1), golang-github-sergi-go-diff (= 1.2.0-2), golang-github-yuin-goldmark (= 1.4.13-1), golang-golang-x-exp (= 0.0~git20220328.053ad81-1), golang-golang-x-mod (= 0.5.1-2), golang-golang-x-net (= 1:0.0+git20220728.c7608f3+dfsg-2), golang-golang-x-sync (= 0.0~git20220722.886fb93-1), golang-golang-x-sys (= 0.0~git20220731.a90be44-1), golang-golang-x-text (= 0.3.7-1), golang-golang-x-vuln (= 0.0~git20220725.4151a5a-2), golang-golang-x-xerrors (= 0.0~git20200804.5ec99f8-1), golang-honnef-go-tools (= 2022.1-1), golang-mvdan-gofumpt (= 0.3.1-1), golang-mvdan-xurls (= 2.4.0-1), golang-toml (= 1.1.0-1)
Priority: optional
Section: universe/golang
Source: golang-golang-x-tools
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18450
Depends: libc6 (>= 2.34)
Breaks: golang-golang-x-tools (<< 1:0.0~git20201116.6f6c72a+ds-3)
Replaces: golang-golang-x-tools (<< 1:0.0~git20201116.6f6c72a+ds-3)
Filename: pool/universe/g/golang-golang-x-tools/gopls_0.1.12+ds-1_amd64.deb
Size: 6190968
MD5sum: 14024ecdb19f740376917a590f443745
SHA1: a9bf4d55db748864d83be50723e0c754d4b5d6ef
SHA256: b37d52da87571c936cc66beef2f5f1a4baa7cdac6a45e3665e0586961a541b40
SHA512: 4d088406556481d745d5e5288b2c0d6b20de8878a9fe17964c5db1b9575e7cb8072cca970e8d22a9842886e9d90c381a1fdcd8aee2177dc49cd7733841bd903a
Homepage: https://golang.org/x/tools
Description: language server for the Go language
Description-md5: 749faeba3b11444876eb862c4cfce0c3