How to Install and Uninstall libcriterion-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: February 24,2025

1. Install "libcriterion-dev" package

In this section, we are going to explain the necessary steps to install libcriterion-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libcriterion-dev

2. Uninstall "libcriterion-dev" package

Please follow the guidance below to uninstall libcriterion-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libcriterion-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libcriterion-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libcriterion-dev
Architecture: amd64
Version: 2.3.3git1-1build2
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: criterion
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: SZALAY Attila
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 693
Depends: pkg-config, libcriterion3 (= 2.3.3git1-1build2), libboxfort-dev, libffi-dev, libgit2-dev, libnanomsg-dev
Filename: pool/universe/c/criterion/libcriterion-dev_2.3.3git1-1build2_amd64.deb
Size: 99524
MD5sum: ab9bdca4da19e08e58d568ca0edf7e97
SHA1: 0c67de972e04b79c2215ebe8ddebbb15d50a8367
SHA256: b7ddba2e372378fc1089dad6ddda960f58afc7dd8af30b53970fe42334889b7b
SHA512: c9b0e263ea74b1388b085988639342a67985009cb5d9d872234ead6f32d1db60a6513d04970aac04155ef60e6f18c5b1a335bf6cbad8eff9d2518555506c4626
Homepage: https://github.com/Snaipe/Criterion
Description-en: cross-platform C and C++ unit testing framework (development files)
Most test frameworks for C require a lot of boilerplate code to set up
tests and test suites -- you need to create a main, then register new test
suites, then register the tests within these suits, and finally call the
right functions.
.
This gives the user great control, at the unfortunate cost of simplicity.
.
Criterion follows the KISS principle, while keeping the control the user
would have with other frameworks:
.
* C99 and C++11 compatible.
* Tests are automatically registered when declared.
* Implements a xUnit framework structure.
* A default entry point is provided, no need to declare a main unless you
want to do special handling.
* Test are isolated in their own process, crashes and signals can be
reported and tested.
* Unified interface between C and C++: include the criterion header and it
just works.
* Supports parameterized tests and theories.
* Progress and statistics can be followed in real time with report hooks.
* TAP output format can be enabled with an option.
* Runs on Linux, FreeBSD, Mac OS X, and Windows (Compiling with MinGW GCC
and Visual Studio 2015+).
.
This package contains the headers needed to compile other packages against
the criterion library
Description-md5: 03760bc9a6688e6451ae2f8cdfe6cb4f