How To Install libobjc2-devel on Fedora 36

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

Introduction

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

What is libobjc2-devel

This package contains development files for libobjc2.

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

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

sudo dnf -y install libobjc2-devel

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

sudo yum -y install libobjc2-devel

How To Uninstall libobjc2-devel on Fedora 36

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

sudo dnf remove libobjc2-devel

libobjc2-devel Package Contents on Fedora 36

/usr/include/Block-libobjc.h
/usr/include/Block_private.h
/usr/include/objc
/usr/include/objc/Availability.h
/usr/include/objc/Object.h
/usr/include/objc/Protocol.h
/usr/include/objc/blocks_private.h
/usr/include/objc/blocks_runtime.h
/usr/include/objc/capabilities.h
/usr/include/objc/developer.h
/usr/include/objc/encoding.h
/usr/include/objc/hooks.h
/usr/include/objc/message.h
/usr/include/objc/objc-api.h
/usr/include/objc/objc-arc.h
/usr/include/objc/objc-auto.h
/usr/include/objc/objc-class.h
/usr/include/objc/objc-runtime.h
/usr/include/objc/objc-visibility.h
/usr/include/objc/objc.h
/usr/include/objc/runtime-deprecated.h
/usr/include/objc/runtime.h
/usr/include/objc/slot.h
/usr/lib64/libobjc.so
/usr/lib64/pkgconfig/libobjc.pc

References

Summary

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