How To Install libobjc on Fedora 34
Introduction
In this tutorial we learn how to install libobjc
on Fedora 34.
What is libobjc
This package contains Objective-C shared library which is needed to run Objective-C dynamically linked programs. libobjc 11.2.1 1.fc34 x86_64 74 k gcc-11.2.1-1.fc34.src.rpm updates Objective-C runtime http GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD This package contains Objective-C shared library which is needed to run Objective-C dynamically linked programs.
We can use yum
or dnf
to install libobjc
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libobjc.
Install libobjc on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libobjc
using dnf
by running the following command:
sudo dnf -y install libobjc
Install libobjc on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libobjc
using yum
by running the following command:
sudo yum -y install libobjc
How To Uninstall libobjc on Fedora 34
To uninstall only the libobjc
package we can use the following command:
sudo dnf remove libobjc
libobjc Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/d06e675624b2f438f44cb27f490baa07e569ae
/usr/lib64/libobjc.so.4
/usr/lib64/libobjc.so.4.0.0
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/d8b1132ae76837a6e79e613266f6dea6d80573
/usr/lib64/libobjc.so.4
/usr/lib64/libobjc.so.4.0.0
/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/64127ed387cc3a011382f0ee3429352772a99d
/usr/lib/libobjc.so.4
/usr/lib/libobjc.so.4.0.0
/usr/lib/.build-id
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/2543130513fe687fb3b37576b91934fc9396c2
/usr/lib/libobjc.so.4
/usr/lib/libobjc.so.4.0.0
References
- [libobjc website](http://gcc.gnu.org http://gcc.gnu.org)
Summary
In this tutorial we learn how to install libobjc
on Fedora 34 using yum and dnf.