How To Install libobjc2 on Fedora 36
Introduction
In this tutorial we learn how to install libobjc2
on Fedora 36.
What is libobjc2
The GNUstep Objective-C runtime is designed as a drop-in replacement for the GCC runtime. It supports both a legacy and a modern ABI, allowing code compiled with old versions of GCC to be supported without requiring recompilation. The modern ABI adds the following features * Non-fragile instance variables. * Protocol uniquing. * Object planes support. * Declared property introspection. Both ABIs support the following feature above and beyond the GCC runtime * The modern Objective-C runtime APIs, introduced with OS X 10.5. * Blocks (closures). * Low memory profile for platforms where memory usage is more important than speed. * Synthesised property accessors. * Efficient support for @synchronized() * Type-dependent dispatch, eliminating stack corruption from mismatched selectors. * Support for the associated reference APIs introduced with Mac OS X 10.6. * Support for the automatic reference counting APIs introduced with Mac OS X 10.
We can use yum
or dnf
to install libobjc2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libobjc2.
Install libobjc2 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
using dnf
by running the following command:
sudo dnf -y install libobjc2
Install libobjc2 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
using yum
by running the following command:
sudo yum -y install libobjc2
How To Uninstall libobjc2 on Fedora 36
To uninstall only the libobjc2
package we can use the following command:
sudo dnf remove libobjc2
libobjc2 Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/3b98b8c7c318c38fb7ed2da7ef1edc83c683f6
/usr/lib64/libobjc.so.4.6
/usr/share/doc/libobjc2
/usr/share/doc/libobjc2/ANNOUNCE.2.1
/usr/share/doc/libobjc2/README.md
/usr/share/licenses/libobjc2
/usr/share/licenses/libobjc2/COPYING
References
Summary
In this tutorial we learn how to install libobjc2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).