How to Install and Uninstall googletest Package on Debian 12 (Bookworm)

Last updated: November 25,2024

1. Install "googletest" package

This guide let you learn how to install googletest on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install googletest

2. Uninstall "googletest" package

This is a short guide on how to uninstall googletest on Debian 12 (Bookworm):

$ sudo apt remove googletest $ sudo apt autoclean && sudo apt autoremove

3. Information about the googletest package on Debian 12 (Bookworm)

Package: googletest
Version: 1.12.1-0.2
Installed-Size: 3505
Maintainer: Steve M. Robbins
Architecture: all
Replaces: google-mock (<< 1.8.0), googletest-tools (<< 1.12.0), libgtest-dev (<< 1.8.0)
Conflicts: google-mock (<< 1.8.0), libgtest-dev (<< 1.8.0)
Description: Google's C++ test framework sources
Description-md5: 1e437b718f57755079100bb08186b2de
Multi-Arch: foreign
Homepage: https://github.com/google/googletest
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/g/googletest/googletest_1.12.1-0.2_all.deb
Size: 506436
MD5sum: f09b23092c8cc8fd6de67097eb2a6fd7
SHA256: 927be72067517da503b6538026d451455c9e860f5dbfe237f792543db7d5a928