How To Install libgphobos on Fedora 34

libgphobos is D runtime D runtime

Introduction

In this tutorial we learn how to install libgphobos on Fedora 34.

What is libgphobos

This package contains D shared library which is needed to run D dynamically linked programs. libgphobos 11.2.1 1.fc34 x86_64 1.6 M gcc-11.2.1-1.fc34.src.rpm updates D runtime http GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD This package contains D shared library which is needed to run D dynamically linked programs.

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

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

sudo dnf -y install libgphobos

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

sudo yum -y install libgphobos

How To Uninstall libgphobos on Fedora 34

To uninstall only the libgphobos package we can use the following command:

sudo dnf remove libgphobos

libgphobos Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/9679ab6a67827391ae7b1fc73396aeef8ad871
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/2614c68b59e2bede5b8b39893b9bd1787858c2
/usr/lib/libgdruntime.so.2
/usr/lib/libgdruntime.so.2.0.0
/usr/lib/libgphobos.so.2
/usr/lib/libgphobos.so.2.0.0
/usr/share/doc/libgphobos
/usr/share/doc/libgphobos/ChangeLog.libphobos.bz2
/usr/share/doc/libgphobos/LICENSE
/usr/share/doc/libgphobos/LICENSE_1_0.txt
/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/7c58346e94d6c1f467dbf5f89c411e9c158ce3
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/5801134a191dd328e4d809907aa37f65ab0690
/usr/lib64/libgdruntime.so.2
/usr/lib64/libgdruntime.so.2.0.0
/usr/lib64/libgphobos.so.2
/usr/lib64/libgphobos.so.2.0.0
/usr/share/doc/libgphobos
/usr/share/doc/libgphobos/ChangeLog.libphobos.bz2
/usr/share/doc/libgphobos/LICENSE
/usr/share/doc/libgphobos/LICENSE_1_0.txt
/usr/lib/.build-id
/usr/lib/.build-id/64
/usr/lib/.build-id/64/5f2023f201d72f476724febd542b66a6301210
/usr/lib/.build-id/ba/7817f055f54cdebb8fd4620d573ec4fc9924b6
/usr/lib/libgdruntime.so.2
/usr/lib/libgdruntime.so.2.0.0
/usr/lib/libgphobos.so.2
/usr/lib/libgphobos.so.2.0.0
/usr/share/doc/libgphobos
/usr/share/doc/libgphobos/ChangeLog.libphobos.bz2
/usr/share/doc/libgphobos/LICENSE
/usr/share/doc/libgphobos/LICENSE_1_0.txt
/usr/lib/.build-id
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/07d1977421ffdc7c8368723fdf80e169582cec
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/a16d9354b46a782630c3c92bd73db2bed8ee15
/usr/lib64/libgdruntime.so.2
/usr/lib64/libgdruntime.so.2.0.0
/usr/lib64/libgphobos.so.2
/usr/lib64/libgphobos.so.2.0.0
/usr/share/doc/libgphobos
/usr/share/doc/libgphobos/ChangeLog.libphobos.bz2
/usr/share/doc/libgphobos/LICENSE
/usr/share/doc/libgphobos/LICENSE_1_0.txt

References

Summary

In this tutorial we learn how to install libgphobos on Fedora 34 using yum and dnf.