How to Install and Uninstall mockgen Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 24,2024

1. Install "mockgen" package

Please follow the guidance below to install mockgen on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install mockgen

2. Uninstall "mockgen" package

In this section, we are going to explain the necessary steps to uninstall mockgen on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove mockgen $ sudo apt autoclean && sudo apt autoremove

3. Information about the mockgen package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: mockgen
Priority: extra
Section: universe/devel
Installed-Size: 3619
Maintainer: Ubuntu Developers
Original-Maintainer: pkg-go
Architecture: amd64
Source: golang-github-golang-mock
Version: 0.0~git20150821.0.06883d9-1
Depends: golang-go
Suggests: golang-github-golang-mock-dev
Filename: pool/universe/g/golang-github-golang-mock/mockgen_0.0~git20150821.0.06883d9-1_amd64.deb
Size: 824534
MD5sum: 67c5be8380fd64dd595ac7c5e3a07172
SHA1: de78905f255d3aa7268f4048b717957c985ba13e
SHA256: f7227e1fc76ead1452e5e397d4a8b61c746203f888dcad515c91063c818f9845
Description-en: mocking framework for the Go programming language - mockgen
GoMock is a mocking framework for the Go programming language.
It integrates well with Go's built-in testing package, but can be used in
other contexts too.
.
This package provides "mockgen" utility.
Description-md5: e19ae0fd3204d9537ce0650fbcab4d09
Built-Using: golang (= 2:1.5.1-0ubuntu2)
Homepage: https://github.com/golang/mock
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu