How To Install cppunit.i686 on Amazon Linux 2

In this tutorial we learn how to install cppunit.i686 in Amazon Linux 2. cppunit.i686 is C++ unit testing framework

Introduction

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

What is cppunit.i686

CppUnit is the C++ port of the famous JUnit framework for unit testing. Test output is in XML for automatic testing and GUI based for supervised tests.

We can use yum to install cppunit.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cppunit.i686.

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

sudo yum -y install cppunit.i686

How To Uninstall cppunit.i686 on Amazon Linux 2

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

sudo yum remove cppunit.i686

cppunit.i686 Package Contents on Amazon Linux 2

/usr/bin/DllPlugInTester
/usr/lib/libcppunit-1.12.so.1
/usr/lib/libcppunit-1.12.so.1.0.0
/usr/share/doc/cppunit-1.12.1
/usr/share/doc/cppunit-1.12.1/AUTHORS
/usr/share/doc/cppunit-1.12.1/BUGS
/usr/share/doc/cppunit-1.12.1/COPYING
/usr/share/doc/cppunit-1.12.1/ChangeLog
/usr/share/doc/cppunit-1.12.1/FAQ
/usr/share/doc/cppunit-1.12.1/NEWS
/usr/share/doc/cppunit-1.12.1/README
/usr/share/doc/cppunit-1.12.1/THANKS
/usr/share/doc/cppunit-1.12.1/TODO

References

Summary

In this tutorial we learn how to install cppunit.i686 on Amazon Linux 2 using yum.