How to Install and Uninstall libgmock-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 16,2024

1. Install "libgmock-dev" package

Learn how to install libgmock-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libgmock-dev

2. Uninstall "libgmock-dev" package

This is a short guide on how to uninstall libgmock-dev on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove libgmock-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libgmock-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libgmock-dev
Architecture: amd64
Version: 1.10.0-2
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: googletest
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Steve M. Robbins
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 827
Depends: libgtest-dev (= 1.10.0-2)
Conflicts: googletest (<= 1.8.0-8)
Replaces: googletest (<= 1.8.0-8)
Filename: pool/universe/g/googletest/libgmock-dev_1.10.0-2_amd64.deb
Size: 119448
MD5sum: c21560f81131c12bfb5a42741826ac8c
SHA1: 3c7e3e63b784f6a048dab5a3ccb7152fee1032ee
SHA256: a1ecbd039344176f12045af2dd8f43c1577c5252a528966669dcf0d7cdc558ed
Homepage: https://github.com/google/googletest
Description: Google's framework for writing C++ tests
Description-md5: 802e748703d8cf2b5fa2f078623e1006