How To Install gir-to-d on Fedora 36

In this tutorial we learn how to install gir-to-d in Fedora 36. gir-to-d is Tool to create D bindings from GObject introspection files

Introduction

In this tutorial we learn how to install gir-to-d on Fedora 36.

What is gir-to-d

gir-to-d is a tool to create D bindings using GObject Introspection repository files, enabling quick and easy use of various libraries written using GObject conventions with the D language.

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

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

sudo dnf -y install gir-to-d

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

sudo yum -y install gir-to-d

How To Uninstall gir-to-d on Fedora 36

To uninstall only the gir-to-d package we can use the following command:

sudo dnf remove gir-to-d

gir-to-d Package Contents on Fedora 36

/usr/bin/girtod
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/dcf1364a7c49ab1230470d1f6c0e3bfb5a689f
/usr/share/doc/gir-to-d
/usr/share/doc/gir-to-d/Readme_APILookup
/usr/share/licenses/gir-to-d
/usr/share/licenses/gir-to-d/COPYING

References

Summary

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