How To Install check-devel on CentOS 8
Introduction
In this tutorial we learn how to install check-devel
on CentOS 8.
What is check-devel
Libraries and headers for developing programs with check check-devel 0.12.0 2.el8 x86_64 35 k check-0.12.0-2.el8.src.rpm appstream Libraries and headers for developing programs with check http LGPLv2+ Libraries and headers for developing programs with check
We can use yum
or dnf
to install check-devel
on CentOS 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 CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the check-devel
package we can use the following command:
sudo dnf remove check-devel
check-devel Package Contents on CentOS 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
- [check-devel website](http://libcheck.github.io/check/ http://libcheck.github.io/check/)
Summary
In this tutorial we learn how to install check-devel
on CentOS 8 using yum and dnf.