How to Install and Uninstall gtest Package on openSuSE Tumbleweed

Last updated: May 16,2024

1. Install "gtest" package

Please follow the instructions below to install gtest on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install gtest

2. Uninstall "gtest" package

Please follow the instructions below to uninstall gtest on openSuSE Tumbleweed:

$ sudo zypper remove gtest

3. Information about the gtest package on openSuSE Tumbleweed

Information for package gtest:
------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : gtest
Version : 1.12.1-1.5
Arch : x86_64
Vendor : openSUSE
Installed Size : 1.4 MiB
Installed : No
Status : not installed
Source package : googletest-1.12.1-1.5.src
Upstream URL : https://github.com/google/googletest
Summary : Development files for the Google C++ Testing Framework
Description :
Google's framework for writing C++ tests on a variety of platforms
(Linux, Mac OS X, Windows, Cygwin, 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, value- and type-parameterized tests,
various options for running the tests, and XML test report generation.
This package provides shared libraries and header files for development
with googletest.

5. The same packages on other Linux Distributions