How to Install and Uninstall gmock Package on openSUSE Leap

Last updated: November 26,2024

1. Install "gmock" package

This guide covers the steps necessary to install gmock on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install gmock

2. Uninstall "gmock" package

This guide let you learn how to uninstall gmock on openSUSE Leap:

$ sudo zypper remove gmock

3. Information about the gmock package on openSUSE Leap

Information for package gmock:
------------------------------
Repository : Main Repository
Name : gmock
Version : 1.10.0-1.10
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 773.7 KiB
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++ Mocking Framework
Description :
Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s specifics in
mind, Google C++ Mocking Framework (or Google Mock for short) is a library for
writing and using C++ mock classes.
This package provides shared libraries and header files for development
with googlemock.

5. The same packages on other Linux Distributions