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

Last updated: December 23,2024

1. Install "libgtest-dev" package

This is a short guide on how to install libgtest-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libgtest-dev

2. Uninstall "libgtest-dev" package

Here is a brief guide to show you how to uninstall libgtest-dev on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: libgtest-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: 16734
Depends: googletest (= 1.10.0-2)
Conflicts: googletest (<= 1.8.0-8)
Replaces: googletest (<= 1.8.0-8)
Filename: pool/universe/g/googletest/libgtest-dev_1.10.0-2_amd64.deb
Size: 1583468
MD5sum: 2c4c045335858cb3317d932e100f313d
SHA1: c5c1adf3f2344aa66855943a433a0facaad4df45
SHA256: 267f0b12893ec2131b83b260fbb459bebc896279777a274a31859a290ad5949f
Homepage: https://github.com/google/googletest
Description: Google's framework for writing C++ tests
Description-md5: 0f57efc74cf16270a96fc2540e04fd16