How To Install cppunit on Fedora 36

In this tutorial we learn how to install cppunit in Fedora 36. cppunit is C++ unit testing framework

Introduction

In this tutorial we learn how to install cppunit on Fedora 36.

What is cppunit

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 or dnf to install cppunit on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cppunit.

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

sudo dnf -y install cppunit

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

sudo yum -y install cppunit

How To Uninstall cppunit on Fedora 36

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

sudo dnf remove cppunit

cppunit Package Contents on Fedora 36

/usr/bin/DllPlugInTester
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/2f90e18d18015b0d58c703e1be4092b00a6005
/usr/lib/.build-id/95
/usr/lib/.build-id/95/d39766c0be5fe045de07bc0863114d1fa8f4b1
/usr/lib64/libcppunit-1.15.so.1
/usr/lib64/libcppunit-1.15.so.1.0.0
/usr/share/doc/cppunit
/usr/share/doc/cppunit/AUTHORS
/usr/share/doc/cppunit/BUGS
/usr/share/doc/cppunit/FAQ
/usr/share/doc/cppunit/NEWS
/usr/share/doc/cppunit/README
/usr/share/doc/cppunit/THANKS
/usr/share/doc/cppunit/TODO
/usr/share/licenses/cppunit
/usr/share/licenses/cppunit/COPYING

References

Summary

In this tutorial we learn how to install cppunit on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install cppunit on Fedora 36” linkTitle: “cppunit” type: “docs” description: “In this tutorial we learn how to install cppunit in Fedora 36. cppunit is C++ unit testing framework” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/cppunit-featured.png

Introduction

In this tutorial we learn how to install cppunit on Fedora 36.

What is cppunit

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 or dnf to install cppunit on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cppunit.

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

sudo dnf -y install cppunit

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

sudo yum -y install cppunit

How To Uninstall cppunit on Fedora 36

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

sudo dnf remove cppunit

cppunit Package Contents on Fedora 36

/usr/bin/DllPlugInTester
/usr/lib/.build-id
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/61dd66920d2acbcd76a212f1744803984ef03e
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/fe13a60266412ed25d0e387c4d3f66e6ca6f68
/usr/lib/libcppunit-1.15.so.1
/usr/lib/libcppunit-1.15.so.1.0.0
/usr/share/doc/cppunit
/usr/share/doc/cppunit/AUTHORS
/usr/share/doc/cppunit/BUGS
/usr/share/doc/cppunit/FAQ
/usr/share/doc/cppunit/NEWS
/usr/share/doc/cppunit/README
/usr/share/doc/cppunit/THANKS
/usr/share/doc/cppunit/TODO
/usr/share/licenses/cppunit
/usr/share/licenses/cppunit/COPYING

References

Summary

In this tutorial we learn how to install cppunit on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).