How to Install and Uninstall mockgen Package on Debian 12 (Bookworm)
Last updated: January 10,2025
Notice
You can also install and uninstall the mockgen on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "mockgen" package
Here is a brief guide to show you how to install mockgen on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
mockgen
Copied
2. Uninstall "mockgen" package
This is a short guide on how to uninstall mockgen on Debian 12 (Bookworm):
$
sudo apt remove
mockgen
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the mockgen package on Debian 12 (Bookworm)
Package: mockgen
Source: golang-github-golang-mock (1.6.0-2)
Version: 1.6.0-2+b6
Installed-Size: 5978
Maintainer: Debian Go Packaging Team
Architecture: amd64
Description: mocking framework for the Go programming language - mockgen
Description-md5: 08aab40ea6e9ecbc214767942f93f3ad
Homepage: https://github.com/golang/mock
Built-Using: golang-1.19 (= 1.19.8-2), golang-github-yuin-goldmark (= 1.5.4-1), golang-golang-x-mod (= 0.7.0-1), golang-golang-x-sys (= 0.3.0-1), golang-golang-x-tools (= 1:0.5.0+ds-1)
Section: devel
Priority: optional
Filename: pool/main/g/golang-github-golang-mock/mockgen_1.6.0-2+b6_amd64.deb
Size: 2008204
MD5sum: 928b7d89355c6587ccea0a44f21dd0f6
SHA256: 1883bde8e8f078e8efa93aa40ef11583987a2d5ff494d65fb03e928ad1542f48
Source: golang-github-golang-mock (1.6.0-2)
Version: 1.6.0-2+b6
Installed-Size: 5978
Maintainer: Debian Go Packaging Team
Architecture: amd64
Description: mocking framework for the Go programming language - mockgen
Description-md5: 08aab40ea6e9ecbc214767942f93f3ad
Homepage: https://github.com/golang/mock
Built-Using: golang-1.19 (= 1.19.8-2), golang-github-yuin-goldmark (= 1.5.4-1), golang-golang-x-mod (= 0.7.0-1), golang-golang-x-sys (= 0.3.0-1), golang-golang-x-tools (= 1:0.5.0+ds-1)
Section: devel
Priority: optional
Filename: pool/main/g/golang-github-golang-mock/mockgen_1.6.0-2+b6_amd64.deb
Size: 2008204
MD5sum: 928b7d89355c6587ccea0a44f21dd0f6
SHA256: 1883bde8e8f078e8efa93aa40ef11583987a2d5ff494d65fb03e928ad1542f48