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

Last updated: November 07,2024

1. Install "mockery" package

Please follow the steps below to install mockery on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install mockery

2. Uninstall "mockery" package

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

$ sudo apt remove mockery $ sudo apt autoclean && sudo apt autoremove

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

Package: mockery
Architecture: amd64
Version: 2.15.0-1build1
Built-Using: golang-1.21 (= 1.21.0-1), golang-fsnotify (= 1.6.0-2), golang-github-davecgh-go-spew (= 1.1.1-3), golang-github-hashicorp-hcl (= 1.0.0-1.1), golang-github-magiconair-properties (= 1.8.7-1), golang-github-mattn-go-colorable (= 0.1.13-1), golang-github-mattn-go-isatty (= 0.0.19-1), golang-github-mitchellh-go-homedir (= 1.1.0-1), golang-github-mitchellh-mapstructure (= 1.5.0-2), golang-github-pelletier-go-toml.v2 (= 2.0.6-1), golang-github-pkg-errors (= 0.9.1-3), golang-github-pmezard-go-difflib (= 1.0.0-3), golang-github-rs-zerolog (= 1.29.1-1), golang-github-spf13-afero (= 1.9.3-1), golang-github-spf13-cast (= 1.5.1-1), golang-github-spf13-cobra (= 1.7.0-1), golang-github-spf13-jwalterweatherman (= 1.1.0+really1.1.0-2), golang-github-spf13-pflag (= 1.0.6~git20210604-d5e0c0615ace-1), golang-github-spf13-viper (= 1.12.0-1), golang-github-subosito-gotenv (= 1.3.0-1), golang-go.crypto (= 1:0.4.0-1), golang-golang-x-mod (= 0.12.0-1), golang-golang-x-sys (= 0.8.0-1), golang-golang-x-term (= 0.8.0-1), golang-golang-x-text (= 0.9.0-1), golang-golang-x-tools (= 1:0.12.0+ds-1), golang-gopkg-ini.v1 (= 1.67.0-1), golang-gopkg-yaml.v3 (= 3.0.1-3), golang-objx (= 0.5.0-1), golang-testify (= 1.8.1-1), golang-yaml.v2 (= 2.4.0-4)
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9291
Depends: libc6 (>= 2.34)
Enhances: golang-github-stretchr-testify-dev
Filename: pool/universe/m/mockery/mockery_2.15.0-1build1_amd64.deb
Size: 3334906
MD5sum: 2fe5e5cda05a69d6813e149135811dad
SHA1: 03eac2a4c8c6ee6126508063b4392ff1586f20ca
SHA256: e8879afe1e0690a5f5beb5cf1e754fd3f69023e287ff7e425ece6d37ae803518
SHA512: 25a60addb29f26507e2bfffa1354d9558a01f3ab3a8ce0e59aca1d4e9e1987cc6219bde0e06fe7c16ddea697090118616bd644ee9f4ebd442310023740b4c9ee
Homepage: https://github.com/vektra/mockery
Description: mock code autogenerator for Golang
Description-md5: d7e904d1a7150ca29bbc0cfedd4b43fc