How to Install and Uninstall gotestsum Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 26,2024

1. Install "gotestsum" package

Please follow the steps below to install gotestsum on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gotestsum

2. Uninstall "gotestsum" package

Please follow the steps below to uninstall gotestsum on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove gotestsum $ sudo apt autoclean && sudo apt autoremove

3. Information about the gotestsum package on Ubuntu 21.04 (Hirsute Hippo)

Package: gotestsum
Architecture: amd64
Version: 0.5.0-2build1
Built-Using: golang-1.15 (= 1.15.4-1ubuntu1), golang-github-fatih-color (= 1.7.0-1), golang-github-google-go-cmp (= 0.5.2-1), golang-github-google-shlex (= 0.0~git20150127.0.6f45313-2), golang-github-jonboulle-clockwork (= 0.1.0-4), golang-github-mattn-go-colorable (= 0.1.7-1), golang-github-mattn-go-isatty (= 0.0.12-1), golang-github-pkg-errors (= 0.9.1-1), golang-github-spf13-pflag (= 1.0.5-2), golang-go.crypto (= 1:0.0~git20200604.70a84ac-2), golang-golang-x-sync (= 0.0~git20190911.cd5d95a-1), golang-golang-x-sys (= 0.0~git20201101.da20708-1), golang-golang-x-tools (= 1:0.0~git20200410.79a7a31+ds-3), golang-golang-x-xerrors (= 0.0~git20191204.9bdfabe-1), gotest.tools (= 3.0.2-1)
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5481
Depends: libc6 (>= 2.32)
Filename: pool/universe/g/gotestsum/gotestsum_0.5.0-2build1_amd64.deb
Size: 1563512
MD5sum: c1901959b619741a58747aaca637dbee
SHA1: 314ae1088f990371fc5601927389ecdfad2002de
SHA256: 73bb118a948aa40205cde86c7aff9c3db13c0bdfeeb7935dfedc720619076ff6
SHA512: e9b9785e4ab6a3dcc5575476ab0fff5181d937e27cd607997750822b4f158d9b5a1e427a7d22cff6ecc87e6f87424cccf37cbc81b17218ccef868eb1e0db7644
Homepage: https://github.com/gotestyourself/gotestsum
Description-en: Feature-rich runner for go test
`go test` runner with output optimized for humans, JUnit XML for CI
integration, and a summary of the test run results.
.
gotestsum runs tests, prints friendly test output and a summary
of the test run. Requires Go 1.10+.
.
gotestsum works by running go test --json ./... and reading the JSON
output.
Description-md5: 6945e22cd82dc45f9e0c5994bbfd0f8d