How To Install cpputest-devel on Fedora 36

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

Introduction

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

What is cpputest-devel

CppUTest is a C/C++ based unit xUnit test framework for unit testing and for test-driving your code. It is written in C++ but is used in C and C++ projects and frequently used in embedded systems but it works for any C/C++ project. CppUTest’s core design principles are - Simple in design and simple in use. - Portable to old and new platforms. - Build with Test-driven Development for Test-driven Developers. The cpputest-devel package contains libraries and header files for developing applications that use cpputest.

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

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

sudo dnf -y install cpputest-devel

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

sudo yum -y install cpputest-devel

How To Uninstall cpputest-devel on Fedora 36

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

sudo dnf remove cpputest-devel

cpputest-devel Package Contents on Fedora 36

/usr/include/CppUTest
/usr/include/CppUTest/CommandLineArguments.h
/usr/include/CppUTest/CommandLineTestRunner.h
/usr/include/CppUTest/CppUTestConfig.h
/usr/include/CppUTest/CppUTestGeneratedConfig.h
/usr/include/CppUTest/JUnitTestOutput.h
/usr/include/CppUTest/MemoryLeakDetector.h
/usr/include/CppUTest/MemoryLeakDetectorMallocMacros.h
/usr/include/CppUTest/MemoryLeakDetectorNewMacros.h
/usr/include/CppUTest/MemoryLeakWarningPlugin.h
/usr/include/CppUTest/PlatformSpecificFunctions.h
/usr/include/CppUTest/PlatformSpecificFunctions_c.h
/usr/include/CppUTest/SimpleMutex.h
/usr/include/CppUTest/SimpleString.h
/usr/include/CppUTest/SimpleStringInternalCache.h
/usr/include/CppUTest/StandardCLibrary.h
/usr/include/CppUTest/TeamCityTestOutput.h
/usr/include/CppUTest/TestFailure.h
/usr/include/CppUTest/TestFilter.h
/usr/include/CppUTest/TestHarness.h
/usr/include/CppUTest/TestHarness_c.h
/usr/include/CppUTest/TestMemoryAllocator.h
/usr/include/CppUTest/TestOutput.h
/usr/include/CppUTest/TestPlugin.h
/usr/include/CppUTest/TestRegistry.h
/usr/include/CppUTest/TestResult.h
/usr/include/CppUTest/TestTestingFixture.h
/usr/include/CppUTest/Utest.h
/usr/include/CppUTest/UtestMacros.h
/usr/include/CppUTestExt
/usr/include/CppUTestExt/CodeMemoryReportFormatter.h
/usr/include/CppUTestExt/GMock.h
/usr/include/CppUTestExt/GTest.h
/usr/include/CppUTestExt/GTestConvertor.h
/usr/include/CppUTestExt/GTestSupport.h
/usr/include/CppUTestExt/IEEE754ExceptionsPlugin.h
/usr/include/CppUTestExt/MemoryReportAllocator.h
/usr/include/CppUTestExt/MemoryReportFormatter.h
/usr/include/CppUTestExt/MemoryReporterPlugin.h
/usr/include/CppUTestExt/MockActualCall.h
/usr/include/CppUTestExt/MockCheckedActualCall.h
/usr/include/CppUTestExt/MockCheckedExpectedCall.h
/usr/include/CppUTestExt/MockExpectedCall.h
/usr/include/CppUTestExt/MockExpectedCallsList.h
/usr/include/CppUTestExt/MockFailure.h
/usr/include/CppUTestExt/MockNamedValue.h
/usr/include/CppUTestExt/MockSupport.h
/usr/include/CppUTestExt/MockSupportPlugin.h
/usr/include/CppUTestExt/MockSupport_c.h
/usr/include/CppUTestExt/OrderedTest.h
/usr/lib/.build-id
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/7b4e62637c2534481b4dee744b394487bff2a1
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/55aefc3026fc5ced97979e673b63346403bc42
/usr/lib64/cmake/CppUTest
/usr/lib64/cmake/CppUTest/CppUTestConfig.cmake
/usr/lib64/cmake/CppUTest/CppUTestConfigVersion.cmake
/usr/lib64/cmake/CppUTest/CppUTestTargets-relwithdebinfo.cmake
/usr/lib64/cmake/CppUTest/CppUTestTargets.cmake
/usr/lib64/cmake/CppUTest/Modules
/usr/lib64/cmake/CppUTest/Modules/CppUTestBuildTimeDiscoverTests.cmake
/usr/lib64/cmake/CppUTest/Scripts
/usr/lib64/cmake/CppUTest/Scripts/CppUTestBuildTimeDiscoverTests.cmake
/usr/lib64/libCppUTest.so
/usr/lib64/libCppUTestExt.so
/usr/lib64/pkgconfig/cpputest.pc
/usr/share/doc/cpputest-devel
/usr/share/doc/cpputest-devel/README.md
/usr/share/doc/cpputest-devel/README_CppUTest_for_C.txt
/usr/share/licenses/cpputest-devel
/usr/share/licenses/cpputest-devel/COPYING

References

Summary

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


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

Introduction

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

What is cpputest-devel

CppUTest is a C/C++ based unit xUnit test framework for unit testing and for test-driving your code. It is written in C++ but is used in C and C++ projects and frequently used in embedded systems but it works for any C/C++ project. CppUTest’s core design principles are - Simple in design and simple in use. - Portable to old and new platforms. - Build with Test-driven Development for Test-driven Developers. The cpputest-devel package contains libraries and header files for developing applications that use cpputest.

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

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

sudo dnf -y install cpputest-devel

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

sudo yum -y install cpputest-devel

How To Uninstall cpputest-devel on Fedora 36

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

sudo dnf remove cpputest-devel

cpputest-devel Package Contents on Fedora 36

/usr/include/CppUTest
/usr/include/CppUTest/CommandLineArguments.h
/usr/include/CppUTest/CommandLineTestRunner.h
/usr/include/CppUTest/CppUTestConfig.h
/usr/include/CppUTest/CppUTestGeneratedConfig.h
/usr/include/CppUTest/JUnitTestOutput.h
/usr/include/CppUTest/MemoryLeakDetector.h
/usr/include/CppUTest/MemoryLeakDetectorMallocMacros.h
/usr/include/CppUTest/MemoryLeakDetectorNewMacros.h
/usr/include/CppUTest/MemoryLeakWarningPlugin.h
/usr/include/CppUTest/PlatformSpecificFunctions.h
/usr/include/CppUTest/PlatformSpecificFunctions_c.h
/usr/include/CppUTest/SimpleMutex.h
/usr/include/CppUTest/SimpleString.h
/usr/include/CppUTest/SimpleStringInternalCache.h
/usr/include/CppUTest/StandardCLibrary.h
/usr/include/CppUTest/TeamCityTestOutput.h
/usr/include/CppUTest/TestFailure.h
/usr/include/CppUTest/TestFilter.h
/usr/include/CppUTest/TestHarness.h
/usr/include/CppUTest/TestHarness_c.h
/usr/include/CppUTest/TestMemoryAllocator.h
/usr/include/CppUTest/TestOutput.h
/usr/include/CppUTest/TestPlugin.h
/usr/include/CppUTest/TestRegistry.h
/usr/include/CppUTest/TestResult.h
/usr/include/CppUTest/TestTestingFixture.h
/usr/include/CppUTest/Utest.h
/usr/include/CppUTest/UtestMacros.h
/usr/include/CppUTestExt
/usr/include/CppUTestExt/CodeMemoryReportFormatter.h
/usr/include/CppUTestExt/GMock.h
/usr/include/CppUTestExt/GTest.h
/usr/include/CppUTestExt/GTestConvertor.h
/usr/include/CppUTestExt/GTestSupport.h
/usr/include/CppUTestExt/IEEE754ExceptionsPlugin.h
/usr/include/CppUTestExt/MemoryReportAllocator.h
/usr/include/CppUTestExt/MemoryReportFormatter.h
/usr/include/CppUTestExt/MemoryReporterPlugin.h
/usr/include/CppUTestExt/MockActualCall.h
/usr/include/CppUTestExt/MockCheckedActualCall.h
/usr/include/CppUTestExt/MockCheckedExpectedCall.h
/usr/include/CppUTestExt/MockExpectedCall.h
/usr/include/CppUTestExt/MockExpectedCallsList.h
/usr/include/CppUTestExt/MockFailure.h
/usr/include/CppUTestExt/MockNamedValue.h
/usr/include/CppUTestExt/MockSupport.h
/usr/include/CppUTestExt/MockSupportPlugin.h
/usr/include/CppUTestExt/MockSupport_c.h
/usr/include/CppUTestExt/OrderedTest.h
/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/f3a2e0815357e86e32d2e0f76e8d1a10fd7bc4
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/6ad2ec8eb2ee1eb02c761ebf3cbec4a287a9fd
/usr/lib/cmake/CppUTest
/usr/lib/cmake/CppUTest/CppUTestConfig.cmake
/usr/lib/cmake/CppUTest/CppUTestConfigVersion.cmake
/usr/lib/cmake/CppUTest/CppUTestTargets-relwithdebinfo.cmake
/usr/lib/cmake/CppUTest/CppUTestTargets.cmake
/usr/lib/cmake/CppUTest/Modules
/usr/lib/cmake/CppUTest/Modules/CppUTestBuildTimeDiscoverTests.cmake
/usr/lib/cmake/CppUTest/Scripts
/usr/lib/cmake/CppUTest/Scripts/CppUTestBuildTimeDiscoverTests.cmake
/usr/lib/libCppUTest.so
/usr/lib/libCppUTestExt.so
/usr/lib/pkgconfig/cpputest.pc
/usr/share/doc/cpputest-devel
/usr/share/doc/cpputest-devel/README.md
/usr/share/doc/cpputest-devel/README_CppUTest_for_C.txt
/usr/share/licenses/cpputest-devel
/usr/share/licenses/cpputest-devel/COPYING

References

Summary

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