How to Install and Uninstall google-mock Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 05,2024

1. Install "google-mock" package

In this section, we are going to explain the necessary steps to install google-mock on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install google-mock

2. Uninstall "google-mock" package

Please follow the guidelines below to uninstall google-mock on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the google-mock package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: google-mock
Architecture: amd64
Version: 1.8.0-6
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: 17
Depends: googletest (= 1.8.0-6)
Filename: pool/universe/g/googletest/google-mock_1.8.0-6_amd64.deb
Size: 2972
MD5sum: 2917e7d49dde3d60a66888b7a5410f97
SHA1: d608141bb01f917a41f027a8cbb43d741afe4c60
SHA256: 0720f2692c5abb89af28143ba4199ed951c727ff10fd6bbff9d1fc52b079eba5
Homepage: https://github.com/google/googletest
Description: Google's framework for writing and using C++ mock classes
Description-md5: 394f47d27dbae1a39fe6261edd9d4081