How to Install and Uninstall google-mock Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: September 20,2024

1. Install "google-mock" package

Please follow the guidelines below to install google-mock on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install google-mock

2. Uninstall "google-mock" package

Please follow the instructions below to uninstall google-mock on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove google-mock $ sudo apt autoclean && sudo apt autoremove

3. Information about the google-mock package on Ubuntu 20.10 (Groovy Gorilla)

Package: google-mock
Architecture: amd64
Version: 1.10.0-3
Multi-Arch: same
Priority: optional
Section: universe/devel
Source: googletest
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Steve M. Robbins
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16
Depends: googletest (= 1.10.0-3)
Filename: pool/universe/g/googletest/google-mock_1.10.0-3_amd64.deb
Size: 4108
MD5sum: 1dbe4fad3b9fb519ef74540c5baf65ca
SHA1: dc4dce6b93f814c7fbd1f5d0b076b741596f3452
SHA256: f692c3032da7bfddf7d7f46b4e5a38e76682a61e252148e0dc86375586f73101
SHA512: ff3b5e935503505af23742aaecaa003643d078f54ef4161716eabc30d2ea78747b19f06b75f8fbe8ee6c7bb68e1ae8b25ea30e10d253be7c4fe270844eca3d60
Homepage: https://github.com/google/googletest
Description-en: Google's framework for writing and using C++ mock classes
NOTE: This is a transitional package, retained for backwards compatibility.
New code should instead use either package libgmock-dev (for compiled lib)
or package googletest (for lib sources).
Description-md5: 483ad6c5d0b69156560590a1aeff1f4d