How to Install and Uninstall libgtest-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

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 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libgtest-dev

2. Uninstall "libgtest-dev" package

Please follow the guidance below to uninstall libgtest-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libgtest-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libgtest-dev
Architecture: amd64
Version: 1.8.0-6
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: 17
Depends: googletest (= 1.8.0-6)
Filename: pool/universe/g/googletest/libgtest-dev_1.8.0-6_amd64.deb
Size: 2718
MD5sum: 9d7b7f9597932fb904171b1bebe3a3df
SHA1: 8a19869303b10ce302f5a8e64baf6d03ce912601
SHA256: 41c4a15b4c292d6ecc1f197425c963a02b4c2fe1fa403097fced01b1ebc3a077
Homepage: https://github.com/google/googletest
Description: Google's framework for writing C++ tests [source code]
Description-md5: 1a28fede058c6c140a3bd8313ce94f1c