How To Install check.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install check.x86_64 on Amazon Linux 2.
What is check.x86_64
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 to install check.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install check.x86_64.
Install check.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install check.x86_64 using yum by running the following command:
sudo yum -y install check.x86_64
How To Uninstall check.x86_64 on Amazon Linux 2
To uninstall only the check.x86_64 package we can use the following command:
sudo yum remove check.x86_64
check.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libcheck.so.0
/usr/lib64/libcheck.so.0.0.0
/usr/share/doc/check-0.9.9
/usr/share/doc/check-0.9.9/AUTHORS
/usr/share/doc/check-0.9.9/COPYING.LESSER
/usr/share/doc/check-0.9.9/ChangeLog
/usr/share/doc/check-0.9.9/ChangeLogOld
/usr/share/doc/check-0.9.9/NEWS
/usr/share/doc/check-0.9.9/README
/usr/share/doc/check-0.9.9/SVNChangeLog
/usr/share/doc/check-0.9.9/THANKS
/usr/share/doc/check-0.9.9/TODO
/usr/share/info/check.info.gz
References
Summary
In this tutorial we learn how to install check.x86_64 on Amazon Linux 2 using yum.