How to Install and Uninstall gtest Package on openSUSE Leap

Last updated: November 01,2024

1. Install "gtest" package

Learn how to install gtest on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install gtest

2. Uninstall "gtest" package

Please follow the step by step instructions below to uninstall gtest on openSUSE Leap:

$ sudo zypper remove gtest

3. Information about the gtest package on openSUSE Leap

Information for package gtest:
------------------------------
Repository : Main Repository
Name : gtest
Version : 1.10.0-1.10
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 1.4 MiB
Installed : No
Status : not installed
Source package : googletest-1.10.0-1.10.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