How to Install and Uninstall golang-github-google-go-cmp-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 14,2024

1. Install "golang-github-google-go-cmp-dev" package

Please follow the guidance below to install golang-github-google-go-cmp-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install golang-github-google-go-cmp-dev

2. Uninstall "golang-github-google-go-cmp-dev" package

Here is a brief guide to show you how to uninstall golang-github-google-go-cmp-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove golang-github-google-go-cmp-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-google-go-cmp-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: golang-github-google-go-cmp-dev
Architecture: all
Version: 0.5.4-1
Priority: extra
Section: universe/devel
Source: golang-github-google-go-cmp
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 487
Depends: golang-golang-x-xerrors-dev (>= 0.0~git20191204.9bdfabe~)
Filename: pool/universe/g/golang-github-google-go-cmp/golang-github-google-go-cmp-dev_0.5.4-1_all.deb
Size: 83700
MD5sum: e7109d6837e6407f0f250ad7cff761e5
SHA1: bf63de3ebfd72c8ab33a6719932affe33f67b0d5
SHA256: c5b29e9be9073f063afbd3656c2418054e89aea0ad45bdf9c4aa8ec77962312e
SHA512: 01f5607a70a9bf5f4bfb8bc111bb2d2343fb4f0d5fd01dc6d014a53b9f34dac744f9ca2f688edf2ec33642587876e156facc82a5c7ea46bb27aca7d728cd62e2
Homepage: https://github.com/google/go-cmp
Description-en: Package for comparing Go values in tests
This package is intended to be a more powerful and safer alternative to
reflect.DeepEqual for comparing whether two values are semantically equal.
.
The primary features of cmp are:
* When the default behavior of equality does not suit the needs of the test,
custom equality functions can override the equality operation. For
example, an equality function may report floats as equal so long as they
are within some tolerance of each other.
* Types that have an Equal method may use that method to determine equality.
This allows package authors to determine the equality operation for the
types that they define.
* If no custom equality functions are used and no Equal method is defined,
equality is determined by recursively comparing the primitive kinds on both
values, much like reflect.DeepEqual. Unlike reflect.DeepEqual, unexported
fields are not compared by default; they result in panics unless suppressed
by using an Ignore option (see cmpopts.IgnoreUnexported) or explicitly
compared using the AllowUnexported option.
.
See the GoDoc documentation (https://godoc.org/github.com/google/go-cmp/cmp)
for more information.
Description-md5: a570016be8c1a78ee8634131254d0f7f