How To Install gobject-introspection on Fedora 36
Introduction
In this tutorial we learn how to install gobject-introspection
on Fedora 36.
What is gobject-introspection
GObject Introspection can scan C header and source files in order to generate introspection “typelib” files. It also provides an API to examine typelib files, useful for creating language bindings among other things.
We can use yum
or dnf
to install gobject-introspection
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gobject-introspection.
Install gobject-introspection 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 gobject-introspection
using dnf
by running the following command:
sudo dnf -y install gobject-introspection
Install gobject-introspection 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 gobject-introspection
using yum
by running the following command:
sudo yum -y install gobject-introspection
How To Uninstall gobject-introspection on Fedora 36
To uninstall only the gobject-introspection
package we can use the following command:
sudo dnf remove gobject-introspection
gobject-introspection Package Contents on Fedora 36
---
title: "How To Install gobject-introspection on Fedora 36"
linkTitle: "gobject-introspection"
type: "docs"
description: "In this tutorial we learn how to install gobject-introspection in Fedora 36. gobject-introspection is Introspection system for GObject-based libraries"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/gobject-introspection-featured.png
---
## Introduction
In this tutorial we learn how to install `gobject-introspection` on Fedora 36.
### What is `gobject-introspection`
> GObject Introspection can scan C header and source files in order to generate introspection "typelib" files. It also provides an API to examine typelib files, useful for creating language bindings among other things.
We can use `yum` or `dnf` to install `gobject-introspection` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gobject-introspection.
## Install gobject-introspection on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
sudo dnf makecache --refresh
After updating yum database, We can install gobject-introspection
using dnf
by running the following command:
sudo dnf -y install gobject-introspection
Install gobject-introspection on Fedora 36 Using yum
Update yum database with yum
using the following command.
/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/7ec16b76d1d533d95a328b5f368521fbd6ad8c
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/DBus-1.0.typelib
/usr/lib64/girepository-1.0/DBusGLib-1.0.typelib
/usr/lib64/girepository-1.0/GIRepository-2.0.typelib
/usr/lib64/girepository-1.0/GL-1.0.typelib
/usr/lib64/girepository-1.0/GLib-2.0.typelib
/usr/lib64/girepository-1.0/GModule-2.0.typelib
/usr/lib64/girepository-1.0/GObject-2.0.typelib
/usr/lib64/girepository-1.0/Gio-2.0.typelib
/usr/lib64/girepository-1.0/Vulkan-1.0.typelib
/usr/lib64/girepository-1.0/cairo-1.0.typelib
/usr/lib64/girepository-1.0/fontconfig-2.0.typelib
/usr/lib64/girepository-1.0/freetype2-2.0.typelib
/usr/lib64/girepository-1.0/libxml2-2.0.typelib
/usr/lib64/girepository-1.0/win32-1.0.typelib
/usr/lib64/girepository-1.0/xfixes-4.0.typelib
/usr/lib64/girepository-1.0/xft-2.0.typelib
/usr/lib64/girepository-1.0/xlib-2.0.typelib
/usr/lib64/girepository-1.0/xrandr-1.3.typelib
/usr/lib64/libgirepository-1.0.so.1
/usr/lib64/libgirepository-1.0.so.1.0.0
/usr/share/doc/gobject-introspection
/usr/share/doc/gobject-introspection/NEWS
/usr/share/doc/gobject-introspection/README.rst
/usr/share/licenses/gobject-introspection
/usr/share/licenses/gobject-introspection/COPYING
/usr/share/licenses/gobject-introspection/COPYING.GPL
/usr/share/licenses/gobject-introspection/COPYING.LGPL
sudo yum makecache --refresh
After updating yum database, We can install gobject-introspection
using yum
by running the following command:
sudo yum -y install gobject-introspection
## References
## How To Uninstall gobject-introspection on Fedora 36
* [gobject-introspection website](https://wiki.gnome.org/Projects/GObjectIntrospection)
To uninstall only the `gobject-introspection` package we can use the following command:
```bash
## Summary
sudo dnf remove gobject-introspection
In this tutorial we learn how to install gobject-introspection
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
gobject-introspection Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/a8c6eb1620eafa01c67738a305812ac804c123
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/DBus-1.0.typelib
/usr/lib/girepository-1.0/DBusGLib-1.0.typelib
/usr/lib/girepository-1.0/GIRepository-2.0.typelib
/usr/lib/girepository-1.0/GL-1.0.typelib
/usr/lib/girepository-1.0/GLib-2.0.typelib
/usr/lib/girepository-1.0/GModule-2.0.typelib
/usr/lib/girepository-1.0/GObject-2.0.typelib
/usr/lib/girepository-1.0/Gio-2.0.typelib
/usr/lib/girepository-1.0/Vulkan-1.0.typelib
/usr/lib/girepository-1.0/cairo-1.0.typelib
/usr/lib/girepository-1.0/fontconfig-2.0.typelib
/usr/lib/girepository-1.0/freetype2-2.0.typelib
/usr/lib/girepository-1.0/libxml2-2.0.typelib
/usr/lib/girepository-1.0/win32-1.0.typelib
/usr/lib/girepository-1.0/xfixes-4.0.typelib
/usr/lib/girepository-1.0/xft-2.0.typelib
/usr/lib/girepository-1.0/xlib-2.0.typelib
/usr/lib/girepository-1.0/xrandr-1.3.typelib
/usr/lib/libgirepository-1.0.so.1
/usr/lib/libgirepository-1.0.so.1.0.0
/usr/share/doc/gobject-introspection
/usr/share/doc/gobject-introspection/NEWS
/usr/share/doc/gobject-introspection/README.rst
/usr/share/licenses/gobject-introspection
/usr/share/licenses/gobject-introspection/COPYING
/usr/share/licenses/gobject-introspection/COPYING.GPL
/usr/share/licenses/gobject-introspection/COPYING.LGPL
References
Summary
In this tutorial we learn how to install gobject-introspection
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).