How to Install and Uninstall libgtest-dev Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "libgtest-dev" package

Please follow the instructions below to install libgtest-dev on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libgtest-dev

2. Uninstall "libgtest-dev" package

Please follow the guidelines below to uninstall libgtest-dev on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libgtest-dev package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libgtest-dev
Priority: optional
Section: universe/libdevel
Installed-Size: 1329
Maintainer: Ubuntu Developers
Original-Maintainer: Steve M. Robbins
Architecture: amd64
Source: gtest
Version: 1.7.0-4ubuntu1
Filename: pool/universe/g/gtest/libgtest-dev_1.7.0-4ubuntu1_amd64.deb
Size: 197576
MD5sum: 94c62a3f129a3a084cc6665ae192182f
SHA1: d683950f236b23a97c69620c9e800efe51fa8b92
SHA256: cfdf8f8bbc18be142da55ed0a6edd510eb6a74205c3c5b9ec8b963620401cfee
Description-en: Google's framework for writing C++ tests - header files
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.
.
This package contains the header files needed to link programs against
gtest.
Description-md5: 91f80794a8414047791bb3f205c9aa39
Multi-Arch: same
Homepage: http://code.google.com/p/googletest/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Task: ubuntu-sdk-libs-dev