How To Install CUnit-devel on Rocky Linux 8

In this tutorial we learn how to install CUnit-devel on Rocky Linux 8. CUnit-devel is Header files and libraries for CUnit development

Introduction

In this tutorial we learn how to install CUnit-devel on Rocky Linux 8.

What is CUnit-devel

The CUnit-devel package contains the header files and libraries for use with CUnit package.

We can use yum or dnf to install CUnit-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install CUnit-devel.

Install CUnit-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install CUnit-devel using dnf by running the following command:

sudo dnf -y install CUnit-devel

Install CUnit-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install CUnit-devel using yum by running the following command:

sudo yum -y install CUnit-devel

How To Uninstall CUnit-devel on Rocky Linux 8

To uninstall only the CUnit-devel package we can use the following command:

sudo dnf remove CUnit-devel

CUnit-devel Package Contents on Rocky Linux 8

/usr/include/CUnit
/usr/include/CUnit/Automated.h
/usr/include/CUnit/Basic.h
/usr/include/CUnit/CUError.h
/usr/include/CUnit/CUnit.h
/usr/include/CUnit/CUnit_intl.h
/usr/include/CUnit/Console.h
/usr/include/CUnit/MyMem.h
/usr/include/CUnit/TestDB.h
/usr/include/CUnit/TestRun.h
/usr/include/CUnit/Util.h
/usr/lib/libcunit.so
/usr/lib/pkgconfig/cunit.pc
/usr/share/doc/CUnit/html
/usr/share/doc/CUnit/html/CUnit_doc.css
/usr/share/doc/CUnit/html/error_handling.html
/usr/share/doc/CUnit/html/fdl.html
/usr/share/doc/CUnit/html/headers
/usr/share/doc/CUnit/html/headers/Automated.h
/usr/share/doc/CUnit/html/headers/Basic.h
/usr/share/doc/CUnit/html/headers/CUCurses.h
/usr/share/doc/CUnit/html/headers/CUError.h
/usr/share/doc/CUnit/html/headers/CUnit.h
/usr/share/doc/CUnit/html/headers/CUnit_intl.h
/usr/share/doc/CUnit/html/headers/Console.h
/usr/share/doc/CUnit/html/headers/MyMem.h
/usr/share/doc/CUnit/html/headers/TestDB.h
/usr/share/doc/CUnit/html/headers/TestRun.h
/usr/share/doc/CUnit/html/headers/Util.h
/usr/share/doc/CUnit/html/headers/Win.h
/usr/share/doc/CUnit/html/index.html
/usr/share/doc/CUnit/html/introduction.html
/usr/share/doc/CUnit/html/managing_tests.html
/usr/share/doc/CUnit/html/running_tests.html
/usr/share/doc/CUnit/html/test_registry.html
/usr/share/doc/CUnit/html/writing_tests.html
/usr/share/man/man3/CUnit.3.gz
/usr/include/CUnit
/usr/include/CUnit/Automated.h
/usr/include/CUnit/Basic.h
/usr/include/CUnit/CUError.h
/usr/include/CUnit/CUnit.h
/usr/include/CUnit/CUnit_intl.h
/usr/include/CUnit/Console.h
/usr/include/CUnit/MyMem.h
/usr/include/CUnit/TestDB.h
/usr/include/CUnit/TestRun.h
/usr/include/CUnit/Util.h
/usr/lib64/libcunit.so
/usr/lib64/pkgconfig/cunit.pc
/usr/share/doc/CUnit/html
/usr/share/doc/CUnit/html/CUnit_doc.css
/usr/share/doc/CUnit/html/error_handling.html
/usr/share/doc/CUnit/html/fdl.html
/usr/share/doc/CUnit/html/headers
/usr/share/doc/CUnit/html/headers/Automated.h
/usr/share/doc/CUnit/html/headers/Basic.h
/usr/share/doc/CUnit/html/headers/CUCurses.h
/usr/share/doc/CUnit/html/headers/CUError.h
/usr/share/doc/CUnit/html/headers/CUnit.h
/usr/share/doc/CUnit/html/headers/CUnit_intl.h
/usr/share/doc/CUnit/html/headers/Console.h
/usr/share/doc/CUnit/html/headers/MyMem.h
/usr/share/doc/CUnit/html/headers/TestDB.h
/usr/share/doc/CUnit/html/headers/TestRun.h
/usr/share/doc/CUnit/html/headers/Util.h
/usr/share/doc/CUnit/html/headers/Win.h
/usr/share/doc/CUnit/html/index.html
/usr/share/doc/CUnit/html/introduction.html
/usr/share/doc/CUnit/html/managing_tests.html
/usr/share/doc/CUnit/html/running_tests.html
/usr/share/doc/CUnit/html/test_registry.html
/usr/share/doc/CUnit/html/writing_tests.html
/usr/share/man/man3/CUnit.3.gz

References

Summary

In this tutorial we learn how to install CUnit-devel on Rocky Linux 8 using yum and dnf.