How to Install and Uninstall gtest.x86_64 Package on Amazon Linux 2

Last updated: November 27,2024

1. Install "gtest.x86_64" package

In this section, we are going to explain the necessary steps to install gtest.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install gtest.x86_64

2. Uninstall "gtest.x86_64" package

Please follow the instructions below to uninstall gtest.x86_64 on Amazon Linux 2:

$ sudo yum remove gtest.x86_64 $ sudo yum autoremove

3. Information about the gtest.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : gtest
Arch : x86_64
Version : 1.7.0
Release : 11.amzn2.0.1
Size : 119 k
Repo : amzn2-core/2/x86_64
Summary : Google C++ testing framework
URL : http://code.google.com/p/googletest/
License : BSD
Description : Framework for writing C++ tests on a variety of platforms
: (GNU/Linux, Mac OS X, Windows, Windows CE, and Symbian). Based on
: the xUnit architecture. Supports automatic test discovery, a rich
: set of assertions, user-defined assertions, death tests, fatal and
: non-fatal failures, various options for running the tests, and XML
: test report generation.