How to Install and Uninstall go-internal Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 11,2024

1. Install "go-internal" package

Learn how to install go-internal on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install go-internal

2. Uninstall "go-internal" package

Here is a brief guide to show you how to uninstall go-internal on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove go-internal $ sudo apt autoclean && sudo apt autoremove

3. Information about the go-internal package on Ubuntu 21.04 (Hirsute Hippo)

Package: go-internal
Architecture: amd64
Version: 1.6.2-1
Built-Using: golang-1.15 (= 1.15.2-1ubuntu1), golang-gopkg-errgo.v2 (= 2.1.0-2)
Priority: optional
Section: universe/devel
Source: golang-github-rogpeppe-go-internal
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 15359
Depends: libc6 (>= 2.32)
Filename: pool/universe/g/golang-github-rogpeppe-go-internal/go-internal_1.6.2-1_amd64.deb
Size: 3384556
MD5sum: b88ff495c590794de43ac26a1fa084b3
SHA1: 69b295217ee832c1492809598238e73031227dc7
SHA256: a60cca6035ed5e15c5c62d006231f8668dbd6515a6edf89f4650a86fb5a77d36
SHA512: fb86ba8d59055a814d1a111e53d42ab72245196363301e266da23a7382ac791d255ee49b3fe4edc6020873c45c52177758b11cf978079cb2dc4959778db44ce9
Homepage: https://github.com/rogpeppe/go-internal
Description-en: Selected Go-internal packages factored out from the standard library (binaries)
The go-internal repository factors out an opinionated selection of
internal packages and functionality from the Go standard library.
Currently this consists mostly of packages and testing code from
within the Go tool implementation.
.
Included are the following:
.
* dirhash: calculate hashes over directory trees the same way
that the Go tool does.
* goproxytest: a GOPROXY implementation designed for test use.
* gotooltest: Use the Go tool inside test scripts (see testscript below).
* imports: list of known architectures and OSs, and support for reading
import statements.
* modfile: read and write go.mod files while preserving formatting
and comments.
* module: module paths and versions.
* par: do work in parallel.
* semver: semantic version parsing.
* testenv: information on the current testing environment.
* testscript: script-based testing based on txtar files.
* txtar: simple text-based file archives for testing.
.
This package contains the compiled binaries, namely testscript,
txtar-addmod, txtar-c and txtar-goproxy.
Description-md5: ad1524a66a3041c36f10fa689303ed26