How to Install and Uninstall mockgen Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 19,2024

1. Install "mockgen" package

Please follow the guidelines below to install mockgen on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install mockgen

2. Uninstall "mockgen" package

This guide covers the steps necessary to uninstall mockgen on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the mockgen package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: mockgen
Architecture: amd64
Version: 1.0.0-1
Built-Using: golang-1.8 (= 1.8.3-2ubuntu1)
Priority: extra
Section: universe/devel
Source: golang-github-golang-mock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2713
Filename: pool/universe/g/golang-github-golang-mock/mockgen_1.0.0-1_amd64.deb
Size: 795260
MD5sum: f3cd340e0725f2c2749c3fedb34f9ec3
SHA1: 9c6550bc0530e6e06fccbfc9b00552a46050fc16
SHA256: f4c09299eacaa6f95e922c007e4bfe982d794e0bf924ba073cc5230358cbee90
Homepage: https://github.com/golang/mock
Description: mocking framework for the Go programming language - mockgen
Description-md5: 08aab40ea6e9ecbc214767942f93f3ad