How to Install google-mock software package in Ubuntu 12.04 LTS (Precise Pangolin)

How to Install google-mock software package in Ubuntu 12.04 LTS (Precise Pangolin)

google-mock software package provides Googles framework for writing and using C++ mock classes, you can install in your Ubuntu 12.04 LTS (Precise Pangolin) by running the commands given below on the terminal,

$ sudo apt-get update
$ sudo apt-get install google-mock 

google-mock is installed in your system.

Make ensure the google-mock package were installed using the commands given below,

$ sudo dpkg-query -l | grep google-mock *

You will get with google-mock package name, version, architecture and description in a table

google-mock package basic information:

Distro Ubuntu 12 04 lts precise pangolin
Section Development
Package google-mock
Version 1.6.0-0ubuntu1
Description Googles framework for writing and using C++ mock classes
Sub Section devel


See Also, How to uninstall or remove google-mock software package from Ubuntu 12.04 LTS (Precise Pangolin)?