How To Install check on Fedora 36
Introduction
In this tutorial we learn how to install check
on Fedora 36.
What is check
Check is a unit test framework for C. It features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate address space, so Check can catch both assertion failures and code errors that cause segmentation faults or other signals. The output from unit tests can be used within source code editors and IDEs.
We can use yum
or dnf
to install check
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install check.
Install check on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install check
using dnf
by running the following command:
sudo dnf -y install check
Install check on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install check
using yum
by running the following command:
sudo yum -y install check
How To Uninstall check on Fedora 36
To uninstall only the check
package we can use the following command:
sudo dnf remove check
check Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/974c144bd39483d9a3aaf43f93c3fb62ff1818
/usr/lib64/libcheck.so.0
/usr/lib64/libcheck.so.0.15.2
/usr/share/doc/check
/usr/share/doc/check/AUTHORS
/usr/share/doc/check/NEWS
/usr/share/info/check.info.gz
/usr/share/licenses/check
/usr/share/licenses/check/COPYING.LESSER
References
Summary
In this tutorial we learn how to install check
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install check on Fedora 36” linkTitle: “check” type: “docs” description: “In this tutorial we learn how to install check in Fedora 36. check is A unit test framework for C” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/check-featured.png
Introduction
In this tutorial we learn how to install check
on Fedora 36.
What is check
Check is a unit test framework for C. It features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate address space, so Check can catch both assertion failures and code errors that cause segmentation faults or other signals. The output from unit tests can be used within source code editors and IDEs.
We can use yum
or dnf
to install check
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install check.
Install check on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install check
using dnf
by running the following command:
sudo dnf -y install check
Install check on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install check
using yum
by running the following command:
sudo yum -y install check
How To Uninstall check on Fedora 36
To uninstall only the check
package we can use the following command:
sudo dnf remove check
check Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/86
/usr/lib/.build-id/86/35d0f2f4eb37d68907604bd2038dc265fd9282
/usr/lib/libcheck.so.0
/usr/lib/libcheck.so.0.15.2
/usr/share/doc/check
/usr/share/doc/check/AUTHORS
/usr/share/doc/check/NEWS
/usr/share/info/check.info.gz
/usr/share/licenses/check
/usr/share/licenses/check/COPYING.LESSER
References
Summary
In this tutorial we learn how to install check
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).