How To Install cpptest on Fedora 36

In this tutorial we learn how to install cpptest in Fedora 36. cpptest is A portable and powerful and simple unit testing framework for C++

Introduction

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

What is cpptest

CppTest is a portable and powerful, yet simple, unit testing framework for handling automated tests in C++. The focus lies on usability and extendability.

We can use yum or dnf to install cpptest on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cpptest.

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

sudo dnf -y install cpptest

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

sudo yum -y install cpptest
---

title: “How To Install cpptest on Fedora 36”

How To Uninstall cpptest on Fedora 36

linkTitle: “cpptest”

type: “docs” To uninstall only the cpptest package we can use the following command:

description: “In this tutorial we learn how to install cpptest in Fedora 36. cpptest is A portable and powerful and simple unit testing framework for C++”

date: "2022-08-17"
sudo dnf remove cpptest
lastmod: "2022-08-17"

#image: /images/fedora/36/cpptest-featured.png

cpptest Package Contents on Fedora 36

## Introduction

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

### What is `cpptest`

> CppTest is a portable and powerful, yet simple, unit testing framework for handling automated tests in C++. The focus lies on usability and extendability.  

We can use `yum` or `dnf` to install `cpptest` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cpptest.

## Install cpptest on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install cpptest using dnf by running the following command:

sudo dnf -y install cpptest

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

sudo yum -y install cpptest

How To Uninstall cpptest on Fedora 36

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

sudo dnf remove cpptest

cpptest Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/e114156f2073c4c949b8f7497248bace29f514
/usr/lib64/libcpptest.so.0
/usr/lib64/libcpptest.so.0.0.7
/usr/share/doc/cpptest
/usr/share/doc/cpptest/AUTHORS
/usr/share/doc/cpptest/COPYING
/usr/share/doc/cpptest/ChangeLog
/usr/share/doc/cpptest/NEWS
/usr/share/doc/cpptest/html-example.html
/usr/share/doc/cpptest/index.html
/usr/share/doc/cpptest/screenshot-compiler.png
/usr/share/doc/cpptest/screenshot-text-terse.png
/usr/share/doc/cpptest/screenshot-text-verbose.png

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/ad /usr/lib/.build-id/ad/749ab2c399b754702f2ea0a99b21def7324039 /usr/lib/libcpptest.so.0 /usr/lib/libcpptest.so.0.0.7 /usr/share/doc/cpptest /usr/share/doc/cpptest/AUTHORS /usr/share/doc/cpptest/COPYING /usr/share/doc/cpptest/ChangeLog /usr/share/doc/cpptest/NEWS /usr/share/doc/cpptest/html-example.html /usr/share/doc/cpptest/index.html /usr/share/doc/cpptest/screenshot-compiler.png /usr/share/doc/cpptest/screenshot-text-terse.png /usr/share/doc/cpptest/screenshot-text-verbose.png


## References

* [cpptest website](http://cpptest.sourceforge.net/)

## Summary

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