How to Install and Uninstall gopls Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 17,2024

1. Install "gopls" package

This tutorial shows how to install gopls on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install gopls

2. Uninstall "gopls" package

Please follow the step by step instructions below to uninstall gopls on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the gopls package on Ubuntu 24.04 LTS (Noble Numbat)

Package: gopls
Architecture: amd64
Version: 1:0.18.0+ds-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: 20839
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.18.0+ds-1_amd64.deb
Size: 6912552
MD5sum: a77f9300b201b0a82eadbd55fa925e53
SHA1: f3995ef505ac492ae4801121c2073773a82f23b8
SHA256: 1dd271b7957a90aa68a2d74cc3372f39dfc72545acd94cb52653e0b49520b64a
SHA512: 7c365482d4ed941dcb50a5d97eaa65dabe5c0928319c6e7343a7604350c63b613738168afb05dbf110f254f540d89f7bb62da49cdc5916ef0235ea23dc8682c4
Homepage: https://golang.org/x/tools
Description: language server for the Go language
Description-md5: 749faeba3b11444876eb862c4cfce0c3
Static-Built-Using: golang-1.21 (= 1.21.7-1), golang-github-google-go-cmp (= 0.6.0-1), golang-github-yuin-goldmark (= 1.7.0-1), golang-golang-x-exp (= 0.0~git20231006.7918f67-1), golang-golang-x-mod (= 0.15.0-1), golang-golang-x-net (= 1:0.21.0+dfsg-1), golang-golang-x-sync (= 0.6.0-1), golang-golang-x-text (= 0.14.0-1), golang-golang-x-vuln (= 1.0.1-1), golang-gopkg-yaml.v3 (= 3.0.1-3), golang-honnef-go-tools (= 2023.1.7-1), golang-mvdan-gofumpt (= 0.6.0-1), golang-mvdan-xurls (= 2.5.0-1), golang-toml (= 1.3.2-2)