How To Install check-devel on Rocky Linux 8

In this tutorial we learn how to install check-devel on Rocky Linux 8. check-devel is Libraries and headers for developing programs with check

Introduction

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

What is check-devel

Libraries and headers for developing programs with check

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

Install check-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 check-devel using dnf by running the following command:

sudo dnf -y install check-devel

Install check-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 check-devel using yum by running the following command:

sudo yum -y install check-devel

How To Uninstall check-devel on Rocky Linux 8

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

sudo dnf remove check-devel

check-devel Package Contents on Rocky Linux 8

/usr/include/check.h
/usr/include/check_stdint.h
/usr/lib/libcheck.so
/usr/lib/pkgconfig/check.pc
/usr/share/aclocal/check.m4
/usr/share/doc/check-devel
/usr/share/doc/check-devel/example
/usr/share/doc/check-devel/example/CMakeLists.txt
/usr/share/doc/check-devel/example/Makefile.am
/usr/share/doc/check-devel/example/README
/usr/share/doc/check-devel/example/cmake
/usr/share/doc/check-devel/example/cmake/COPYING-CMAKE-SCRIPTS.txt
/usr/share/doc/check-devel/example/cmake/FindCheck.cmake
/usr/share/doc/check-devel/example/cmake/config.h.in
/usr/share/doc/check-devel/example/configure.ac
/usr/share/doc/check-devel/example/src
/usr/share/doc/check-devel/example/src/CMakeLists.txt
/usr/share/doc/check-devel/example/src/Makefile.am
/usr/share/doc/check-devel/example/src/main.c
/usr/share/doc/check-devel/example/src/money.1.c
/usr/share/doc/check-devel/example/src/money.1.h
/usr/share/doc/check-devel/example/src/money.2.h
/usr/share/doc/check-devel/example/src/money.3.c
/usr/share/doc/check-devel/example/src/money.4.c
/usr/share/doc/check-devel/example/src/money.5.c
/usr/share/doc/check-devel/example/src/money.6.c
/usr/share/doc/check-devel/example/src/money.c
/usr/share/doc/check-devel/example/src/money.h
/usr/share/doc/check-devel/example/tests
/usr/share/doc/check-devel/example/tests/CMakeLists.txt
/usr/share/doc/check-devel/example/tests/Makefile.am
/usr/share/doc/check-devel/example/tests/check_money.1.c
/usr/share/doc/check-devel/example/tests/check_money.2.c
/usr/share/doc/check-devel/example/tests/check_money.3.c
/usr/share/doc/check-devel/example/tests/check_money.6.c
/usr/share/doc/check-devel/example/tests/check_money.7.c
/usr/share/doc/check-devel/example/tests/check_money.c
/usr/include/check.h
/usr/include/check_stdint.h
/usr/lib64/libcheck.so
/usr/lib64/pkgconfig/check.pc
/usr/share/aclocal/check.m4
/usr/share/doc/check-devel
/usr/share/doc/check-devel/example
/usr/share/doc/check-devel/example/CMakeLists.txt
/usr/share/doc/check-devel/example/Makefile.am
/usr/share/doc/check-devel/example/README
/usr/share/doc/check-devel/example/cmake
/usr/share/doc/check-devel/example/cmake/COPYING-CMAKE-SCRIPTS.txt
/usr/share/doc/check-devel/example/cmake/FindCheck.cmake
/usr/share/doc/check-devel/example/cmake/config.h.in
/usr/share/doc/check-devel/example/configure.ac
/usr/share/doc/check-devel/example/src
/usr/share/doc/check-devel/example/src/CMakeLists.txt
/usr/share/doc/check-devel/example/src/Makefile.am
/usr/share/doc/check-devel/example/src/main.c
/usr/share/doc/check-devel/example/src/money.1.c
/usr/share/doc/check-devel/example/src/money.1.h
/usr/share/doc/check-devel/example/src/money.2.h
/usr/share/doc/check-devel/example/src/money.3.c
/usr/share/doc/check-devel/example/src/money.4.c
/usr/share/doc/check-devel/example/src/money.5.c
/usr/share/doc/check-devel/example/src/money.6.c
/usr/share/doc/check-devel/example/src/money.c
/usr/share/doc/check-devel/example/src/money.h
/usr/share/doc/check-devel/example/tests
/usr/share/doc/check-devel/example/tests/CMakeLists.txt
/usr/share/doc/check-devel/example/tests/Makefile.am
/usr/share/doc/check-devel/example/tests/check_money.1.c
/usr/share/doc/check-devel/example/tests/check_money.2.c
/usr/share/doc/check-devel/example/tests/check_money.3.c
/usr/share/doc/check-devel/example/tests/check_money.6.c
/usr/share/doc/check-devel/example/tests/check_money.7.c
/usr/share/doc/check-devel/example/tests/check_money.c

References

Summary

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