How to Install and Uninstall gopls Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "gopls" package

Here is a brief guide to show you how to install gopls on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install gopls

2. Uninstall "gopls" package

Please follow the guidelines below to uninstall gopls on Ubuntu 21.10 (Impish Indri):

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

3. Information about the gopls package on Ubuntu 21.10 (Impish Indri)

Package: gopls
Architecture: amd64
Version: 1:0.1.0+ds-1
Built-Using: golang-1.15 (= 1.15.4-1ubuntu2), golang-github-google-go-cmp (= 0.5.4-1), golang-github-sergi-go-diff (= 1.1.0-1), golang-github-yuin-goldmark (= 1.2.1-1), golang-golang-x-mod (= 0.4.1-1), golang-golang-x-net (= 1:0.0+git20201031.ff519b6+dfsg-1), golang-golang-x-sync (= 0.0~git20190911.cd5d95a-1), golang-golang-x-sys (= 0.0~git20210124.22da62e-1), golang-golang-x-xerrors (= 0.0~git20191204.9bdfabe-1), golang-honnef-go-tools (= 2020.1-4), golang-mvdan-gofumpt (= 0.1.0-1), golang-mvdan-xurls (= 2.2.0-2), golang-toml (= 0.3.1-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: 16052
Depends: libc6 (>= 2.32)
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.0+ds-1_amd64.deb
Size: 4761408
MD5sum: f3086ca8b98f8d6a8d58c19fc417aa86
SHA1: 1b1fa3b0f2d618c4cb105da2a8f24999c22443d7
SHA256: 5ffee2c1779578923b87cc1784038226cffdf4235c9361648ec58b8e036b9ad0
SHA512: 5d6c9c7904c97e60706d5959013e5be7b0ae6dba49495f3986a9319c566e85f934f869f308d134c0d32ac2f03b09e1c6756b5d5f5d658c1b73409fa86b0be3d3
Homepage: https://golang.org/x/tools
Description-en: language server for the Go language
gopls (pronounced: "go please") is the official language server for the Go
language.
.
The Language Server Protocol allows any text editor to be extended with
IDE-like features.
Description-md5: 749faeba3b11444876eb862c4cfce0c3