How To Install catch-devel on Fedora 36

In this tutorial we learn how to install catch-devel in Fedora 36. catch-devel is Development files for catch

Introduction

In this tutorial we learn how to install catch-devel on Fedora 36.

What is catch-devel

Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience.

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

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

sudo dnf -y install catch-devel

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

sudo yum -y install catch-devel

How To Uninstall catch-devel on Fedora 36

To uninstall only the catch-devel package we can use the following command:

sudo dnf remove catch-devel

catch-devel Package Contents on Fedora 36

/usr/include/catch2
/usr/include/catch2/catch.hpp
/usr/include/catch2/catch_reporter_automake.hpp
/usr/include/catch2/catch_reporter_sonarqube.hpp
/usr/include/catch2/catch_reporter_tap.hpp
/usr/include/catch2/catch_reporter_teamcity.hpp
/usr/lib/cmake/Catch2
/usr/lib/cmake/Catch2/Catch.cmake
/usr/lib/cmake/Catch2/Catch2Config.cmake
/usr/lib/cmake/Catch2/Catch2ConfigVersion.cmake
/usr/lib/cmake/Catch2/Catch2Targets.cmake
/usr/lib/cmake/Catch2/CatchAddTests.cmake
/usr/lib/cmake/Catch2/ParseAndAddCatchTests.cmake
/usr/share/Catch2
/usr/share/Catch2/gdbinit
/usr/share/Catch2/lldbinit
/usr/share/doc/catch-devel
/usr/share/doc/catch-devel/CODE_OF_CONDUCT.md
/usr/share/doc/catch-devel/README.md
/usr/share/doc/catch-devel/docs
/usr/share/doc/catch-devel/docs/Readme.md
/usr/share/doc/catch-devel/docs/assertions.md
/usr/share/doc/catch-devel/docs/benchmarks.md
/usr/share/doc/catch-devel/docs/ci-and-misc.md
/usr/share/doc/catch-devel/docs/cmake-integration.md
/usr/share/doc/catch-devel/docs/command-line.md
/usr/share/doc/catch-devel/docs/commercial-users.md
/usr/share/doc/catch-devel/docs/configuration.md
/usr/share/doc/catch-devel/docs/contributing.md
/usr/share/doc/catch-devel/docs/deprecations.md
/usr/share/doc/catch-devel/docs/event-listeners.md
/usr/share/doc/catch-devel/docs/generators.md
/usr/share/doc/catch-devel/docs/limitations.md
/usr/share/doc/catch-devel/docs/list-of-examples.md
/usr/share/doc/catch-devel/docs/logging.md
/usr/share/doc/catch-devel/docs/matchers.md
/usr/share/doc/catch-devel/docs/opensource-users.md
/usr/share/doc/catch-devel/docs/other-macros.md
/usr/share/doc/catch-devel/docs/own-main.md
/usr/share/doc/catch-devel/docs/release-notes.md
/usr/share/doc/catch-devel/docs/release-process.md
/usr/share/doc/catch-devel/docs/reporters.md
/usr/share/doc/catch-devel/docs/slow-compiles.md
/usr/share/doc/catch-devel/docs/test-cases-and-sections.md
/usr/share/doc/catch-devel/docs/test-fixtures.md
/usr/share/doc/catch-devel/docs/tostring.md
/usr/share/doc/catch-devel/docs/tutorial.md
/usr/share/doc/catch-devel/docs/why-catch.md
/usr/share/licenses/catch-devel
/usr/share/licenses/catch-devel/LICENSE.txt
/usr/share/pkgconfig/catch2.pc

References

Summary

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


title: “How To Install catch-devel on Fedora 36” linkTitle: “catch-devel” type: “docs” description: “In this tutorial we learn how to install catch-devel in Fedora 36. catch-devel is Development files for catch” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/catch-devel-featured.png

Introduction

In this tutorial we learn how to install catch-devel on Fedora 36.

What is catch-devel

Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience.

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

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

sudo dnf -y install catch-devel

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

sudo yum -y install catch-devel

How To Uninstall catch-devel on Fedora 36

To uninstall only the catch-devel package we can use the following command:

sudo dnf remove catch-devel

catch-devel Package Contents on Fedora 36

/usr/include/catch2
/usr/include/catch2/catch.hpp
/usr/include/catch2/catch_reporter_automake.hpp
/usr/include/catch2/catch_reporter_sonarqube.hpp
/usr/include/catch2/catch_reporter_tap.hpp
/usr/include/catch2/catch_reporter_teamcity.hpp
/usr/lib64/cmake/Catch2
/usr/lib64/cmake/Catch2/Catch.cmake
/usr/lib64/cmake/Catch2/Catch2Config.cmake
/usr/lib64/cmake/Catch2/Catch2ConfigVersion.cmake
/usr/lib64/cmake/Catch2/Catch2Targets.cmake
/usr/lib64/cmake/Catch2/CatchAddTests.cmake
/usr/lib64/cmake/Catch2/ParseAndAddCatchTests.cmake
/usr/share/Catch2
/usr/share/Catch2/gdbinit
/usr/share/Catch2/lldbinit
/usr/share/doc/catch-devel
/usr/share/doc/catch-devel/CODE_OF_CONDUCT.md
/usr/share/doc/catch-devel/README.md
/usr/share/doc/catch-devel/docs
/usr/share/doc/catch-devel/docs/Readme.md
/usr/share/doc/catch-devel/docs/assertions.md
/usr/share/doc/catch-devel/docs/benchmarks.md
/usr/share/doc/catch-devel/docs/ci-and-misc.md
/usr/share/doc/catch-devel/docs/cmake-integration.md
/usr/share/doc/catch-devel/docs/command-line.md
/usr/share/doc/catch-devel/docs/commercial-users.md
/usr/share/doc/catch-devel/docs/configuration.md
/usr/share/doc/catch-devel/docs/contributing.md
/usr/share/doc/catch-devel/docs/deprecations.md
/usr/share/doc/catch-devel/docs/event-listeners.md
/usr/share/doc/catch-devel/docs/generators.md
/usr/share/doc/catch-devel/docs/limitations.md
/usr/share/doc/catch-devel/docs/list-of-examples.md
/usr/share/doc/catch-devel/docs/logging.md
/usr/share/doc/catch-devel/docs/matchers.md
/usr/share/doc/catch-devel/docs/opensource-users.md
/usr/share/doc/catch-devel/docs/other-macros.md
/usr/share/doc/catch-devel/docs/own-main.md
/usr/share/doc/catch-devel/docs/release-notes.md
/usr/share/doc/catch-devel/docs/release-process.md
/usr/share/doc/catch-devel/docs/reporters.md
/usr/share/doc/catch-devel/docs/slow-compiles.md
/usr/share/doc/catch-devel/docs/test-cases-and-sections.md
/usr/share/doc/catch-devel/docs/test-fixtures.md
/usr/share/doc/catch-devel/docs/tostring.md
/usr/share/doc/catch-devel/docs/tutorial.md
/usr/share/doc/catch-devel/docs/why-catch.md
/usr/share/licenses/catch-devel
/usr/share/licenses/catch-devel/LICENSE.txt
/usr/share/pkgconfig/catch2.pc

References

Summary

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