How to Install and Uninstall libgmock-dev Package on Debian 12 (Bookworm)

Last updated: May 12,2024

1. Install "libgmock-dev" package

Please follow the steps below to install libgmock-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libgmock-dev

2. Uninstall "libgmock-dev" package

Please follow the instructions below to uninstall libgmock-dev on Debian 12 (Bookworm):

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

3. Information about the libgmock-dev package on Debian 12 (Bookworm)

Package: libgmock-dev
Source: googletest
Version: 1.12.1-0.2
Installed-Size: 746
Maintainer: Steve M. Robbins
Architecture: amd64
Replaces: googletest (<= 1.8.0-8)
Depends: libgtest-dev (= 1.12.1-0.2)
Conflicts: googletest (<= 1.8.0-8)
Description: Google's framework for writing C++ tests
Description-md5: 802e748703d8cf2b5fa2f078623e1006
Multi-Arch: same
Homepage: https://github.com/google/googletest
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/g/googletest/libgmock-dev_1.12.1-0.2_amd64.deb
Size: 131088
MD5sum: 146b7d726223232355fb2b0484b1aea3
SHA256: ffe5958a13f30657cb5e5af4e24bfa6ab6b633391f1a945607799192b52b4530