How to Install and Uninstall libgtest-dev Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: September 20,2024

1. Install "libgtest-dev" package

In this section, we are going to explain the necessary steps to install libgtest-dev on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install libgtest-dev

2. Uninstall "libgtest-dev" package

Please follow the guidelines below to uninstall libgtest-dev on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the libgtest-dev package on Ubuntu 24.04 LTS (Noble Numbat)

Package: libgtest-dev
Architecture: amd64
Version: 1.14.0-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: 1495
Depends: googletest (= 1.14.0-1)
Filename: pool/universe/g/googletest/libgtest-dev_1.14.0-1_amd64.deb
Size: 268320
MD5sum: 17ce0993cf0654a283e503001b3937e4
SHA1: 5baecbedddade5976eb8b4dee655f6e56605c5c2
SHA256: c7dd1ecf6b816bf13ab6e1d8813d1ff0ae7a4fa09326a0cd467c3943d952117f
SHA512: 8a38c7e7d1e5b6f9d8c88625439747acf83f3846aa0038c655662a9ec139dd369f380db47b0a632cf5fc4f819df4a652998ee0c8be44b0225ad7df1776c26d29
Homepage: https://github.com/google/googletest
Description: Google's framework for writing C++ tests
Description-md5: 0f57efc74cf16270a96fc2540e04fd16