How to Install and Uninstall CUnit.x86_64 Package on Amazon Linux 2

Last updated: February 05,2025

1. Install "CUnit.x86_64" package

Please follow the instructions below to install CUnit.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install CUnit.x86_64

2. Uninstall "CUnit.x86_64" package

This tutorial shows how to uninstall CUnit.x86_64 on Amazon Linux 2:

$ sudo yum remove CUnit.x86_64 $ sudo yum autoremove

3. Information about the CUnit.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : CUnit
Arch : x86_64
Version : 2.1.3
Release : 11.amzn2.0.2
Size : 50 k
Repo : amzn2-core/2/x86_64
Summary : Unit testing framework for C
URL : http://cunit.sourceforge.net/
License : LGPLv2+
Description : CUnit is a lightweight system for writing, administering,
: and running unit tests in C. It provides C programmers a basic
: testing functionality with a flexible variety of user interfaces.