How To Install check.i686 on Amazon Linux 2

In this tutorial we learn how to install check.i686 in Amazon Linux 2. check.i686 is A unit test framework for C

Introduction

In this tutorial we learn how to install check.i686 on Amazon Linux 2.

What is check.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install check.i686.

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

sudo yum -y install check.i686

How To Uninstall check.i686 on Amazon Linux 2

To uninstall only the check.i686 package we can use the following command:

sudo yum remove check.i686

check.i686 Package Contents on Amazon Linux 2

/usr/lib/libcheck.so.0
/usr/lib/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.i686 on Amazon Linux 2 using yum.