How to Install and Uninstall mockgen Package on Kali Linux

Last updated: December 23,2024

1. Install "mockgen" package

Please follow the guidelines below to install mockgen on Kali Linux

$ sudo apt update $ sudo apt install mockgen

2. Uninstall "mockgen" package

This is a short guide on how to uninstall mockgen on Kali Linux:

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

3. Information about the mockgen package on Kali Linux

Package: mockgen
Source: golang-github-golang-mock (1.6.0-2)
Version: 1.6.0-2+b9
Installed-Size: 6457
Maintainer: Debian Go Packaging Team
Architecture: amd64
Size: 2158080
SHA256: 866e70d91b82d27b8c015fc49644b3d2e20f621ccdc6bd34fc6d141095217e01
SHA1: ffa509b3e2ed844e8d9452168d9f58213bceade6
MD5sum: 873b3fd70e456586a1ab2c89ca15e03c
Description: 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 the "mockgen" utility.
Description-md5:
Homepage: https://github.com/golang/mock
Built-Using: golang-1.21 (= 1.21.3-1), golang-github-yuin-goldmark (= 1.5.6-1), golang-golang-x-mod (= 0.12.0-1), golang-golang-x-sys (= 0.12.0-1), golang-golang-x-tools (= 1:0.13.0-1)
Section: devel
Priority: optional
Filename: pool/main/g/golang-github-golang-mock/mockgen_1.6.0-2+b9_amd64.deb