How To Install libcmocka-devel on Fedora 36

In this tutorial we learn how to install libcmocka-devel in Fedora 36. libcmocka-devel is Development headers for the cmocka library

Introduction

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

What is libcmocka-devel

Development headers for the cmocka unit testing library.

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

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

sudo dnf -y install libcmocka-devel

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

sudo yum -y install libcmocka-devel

How To Uninstall libcmocka-devel on Fedora 36

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

sudo dnf remove libcmocka-devel

libcmocka-devel Package Contents on Fedora 36

/usr/include/cmocka.h
/usr/include/cmocka_pbc.h
/usr/include/cmockery/cmockery.h
/usr/include/cmockery/pbc.h
/usr/lib/cmake/cmocka/cmocka-config-version.cmake
/usr/lib/cmake/cmocka/cmocka-config.cmake
/usr/lib/libcmocka.so
/usr/lib/libcmockery.so
/usr/lib/pkgconfig/cmocka.pc

References

Summary

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


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

Introduction

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

What is libcmocka-devel

Development headers for the cmocka unit testing library.

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

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

sudo dnf -y install libcmocka-devel

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

sudo yum -y install libcmocka-devel

How To Uninstall libcmocka-devel on Fedora 36

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

sudo dnf remove libcmocka-devel

libcmocka-devel Package Contents on Fedora 36

/usr/include/cmocka.h
/usr/include/cmocka_pbc.h
/usr/include/cmockery/cmockery.h
/usr/include/cmockery/pbc.h
/usr/lib64/cmake/cmocka/cmocka-config-version.cmake
/usr/lib64/cmake/cmocka/cmocka-config.cmake
/usr/lib64/libcmocka.so
/usr/lib64/libcmockery.so
/usr/lib64/pkgconfig/cmocka.pc

References

Summary

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