How to Install libgtest-dev in Ubuntu 18.04



Install libgtest-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install libgtest-dev

Description:

Google's framework for writing C++ tests [source code]

NOTE: This is a transitional package, retained for backwards compatibility. New code should use package googletest instead. . 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.

Homepage: https://github.com/google/googletest

Version: 1.8.0-6

Section: universe/libdevel