How to Install and Uninstall googletest Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 23,2024

1. Install "googletest" package

Please follow the step by step instructions below to install googletest on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install googletest

2. Uninstall "googletest" package

This tutorial shows how to uninstall googletest on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove googletest $ sudo apt autoclean && sudo apt autoremove

3. Information about the googletest package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: googletest
Architecture: all
Version: 1.11.0-3
Multi-Arch: foreign
Priority: optional
Section: universe/libdevel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Steve M. Robbins
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3628
Conflicts: google-mock (<< 1.8.0), libgtest-dev (<< 1.8.0)
Replaces: google-mock (<< 1.8.0), libgtest-dev (<< 1.8.0)
Filename: pool/universe/g/googletest/googletest_1.11.0-3_all.deb
Size: 541360
MD5sum: 8a4e928f15723201d43fc1e8786e04b7
SHA1: b81b719717ba89783b9eba68cfe42c467d31e8aa
SHA256: 7f665f45da5c1748ba85b7f7f1ff16e76ab9e6f61f2f09d8c4eb898d529c1b57
SHA512: 9a3aa754ebedc4f4e56ba5d0dec5e0dd73603771e802fc060ad03fcec00e20025d03e2130c97ea3f9f8e64622b54c8cc82249578e99b90e9a5ec07fde62e6db8
Homepage: https://github.com/google/googletest
Description: Google's C++ test framework sources
Description-md5: 1e437b718f57755079100bb08186b2de