How to Install and Uninstall mockgen Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 07,2024

1. Install "mockgen" package

In this section, we are going to explain the necessary steps to install mockgen on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install mockgen

2. Uninstall "mockgen" package

Please follow the steps below to uninstall mockgen on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the mockgen package on Ubuntu 24.04 LTS (Noble Numbat)

Package: mockgen
Architecture: amd64
Version: 1.6.0-2build1
Built-Using: golang-1.21 (= 1.21.0-1), golang-github-yuin-goldmark (= 1.5.4-1), golang-golang-x-mod (= 0.12.0-1), golang-golang-x-sys (= 0.8.0-1), golang-golang-x-tools (= 1:0.12.0+ds-1)
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: 6444
Filename: pool/universe/g/golang-github-golang-mock/mockgen_1.6.0-2build1_amd64.deb
Size: 2339120
MD5sum: db41474c2a3746a914c263f8b7373e1b
SHA1: b7a63f40170f385a4df5b9a0c7fe31d753a369ef
SHA256: 48b716d49f59c948a60fd4f65fbbfd260cfab080e27030f1740102a46fa63b57
SHA512: 653d30552c26b3cf1f1445bfe5f01c40f40bcfb479f5e6a7a4a1746f5f0a68f8ace7027e8fd41d1b1ea89e872e6fc75035ab88f300efed346ef72228b4bb712e
Homepage: https://github.com/golang/mock
Description: mocking framework for the Go programming language - mockgen
Description-md5: 08aab40ea6e9ecbc214767942f93f3ad