How To Install cppunit.x86_64 on Amazon Linux 2

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

Introduction

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

What is cppunit.x86_64

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

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

sudo yum -y install cppunit.x86_64

How To Uninstall cppunit.x86_64 on Amazon Linux 2

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

sudo yum remove cppunit.x86_64

cppunit.x86_64 Package Contents on Amazon Linux 2

/usr/bin/DllPlugInTester
/usr/lib64/libcppunit-1.12.so.1
/usr/lib64/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.x86_64 on Amazon Linux 2 using yum.