How to Install and Uninstall libgtest-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "libgtest-dev" package

This guide covers the steps necessary to install libgtest-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libgtest-dev

2. Uninstall "libgtest-dev" package

Please follow the guidelines below to uninstall libgtest-dev on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libgtest-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libgtest-dev
Architecture: amd64
Version: 1.10.0.20201025-1.1
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: 1358
Depends: googletest (= 1.10.0.20201025-1.1)
Conflicts: googletest (<= 1.8.0-8)
Replaces: googletest (<= 1.8.0-8)
Filename: pool/universe/g/googletest/libgtest-dev_1.10.0.20201025-1.1_amd64.deb
Size: 223024
MD5sum: 917e1514aa14d5c6ddcda60026668061
SHA1: 051cda36807f42ad737fc27f48ffa064d43c3428
SHA256: bca2b62ad257200095bb77b3c41674a7a4f477b9f6e996c234cdfd492b07385e
SHA512: 94fb5e1e60ff876ca83e8cc845fc846d80c3851417a7919e34a0c02e2c22f932184deed4c13a7e7a542374f74fda9b7d59e82b3df3a0464a0e1453a2a8dd944c
Homepage: https://github.com/google/googletest
Description-en: Google's framework for writing C++ tests
Google's framework for writing C++ tests on a variety of platforms. Based on
the xUnit architecture. Supports automatic test discovery, a rich set of
assertions, user-defined assertions, death tests, fatal and non-fatal failures,
value- and type-parameterized tests, various options for running the tests, and
XML test report generation.
Description-md5: 0f57efc74cf16270a96fc2540e04fd16