How to Install and Uninstall catch2 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 14,2024

1. Install "catch2" package

Here is a brief guide to show you how to install catch2 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install catch2

2. Uninstall "catch2" package

Learn how to uninstall catch2 on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove catch2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the catch2 package on Ubuntu 21.04 (Hirsute Hippo)

Package: catch2
Architecture: amd64
Version: 2.13.4-2
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Mathieu Mirmont
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2670
Filename: pool/universe/c/catch2/catch2_2.13.4-2_amd64.deb
Size: 454344
MD5sum: 9d27ba00b49d3f96dbc4a94ba6edde89
SHA1: 2b6fa517ade8410919c59b8fe23a6273659624a1
SHA256: 1c08114c61e7d13c73b36a28926d0e9b641a7a405d9ae7bec41e8b5063ee5c09
SHA512: 4c89a165788594e5934447cb70f4b3ae639392eda4212b7b34cf80b99f7f676c88b7b34f138c6bbfba254e1254cebfaf67883988e9c9172695d2ca90565a0969
Homepage: https://github.com/catchorg/Catch2
Description-en: C++ Automated Test Cases in Headers
Catch2 is a multi-paradigm test framework for C++, which also
supports Objective-C (and maybe C). It is primarily distributed as a
single header file, although certain extensions may require
additional headers.
.
If you've been using an earlier version of Catch, please see the
Breaking Changes section of the release notes before moving to
Catch2.
Description-md5: 1e9082084f76573464c9d1a8b1c8745a