How To Install glib on Fedora 36

In this tutorial we learn how to install glib in Fedora 36. glib is A library of handy utility functions

Introduction

In this tutorial we learn how to install glib on Fedora 36.

What is glib

GLib is a handy library of utility functions. This C library is designed to solve some portability problems and provide other useful functionality that most programs require.

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

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

sudo dnf -y install glib

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

sudo yum -y install glib

How To Uninstall glib on Fedora 36

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

sudo dnf remove glib

glib Package Contents on Fedora 36

---
title: "How To Install glib on Fedora 36"
linkTitle: "glib"
type: "docs"
description: "In this tutorial we learn how to install glib in Fedora 36. glib is A library of handy utility functions"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/glib-featured.png
---

## Introduction

In this tutorial we learn how to install `glib` on Fedora 36.

### What is `glib`

> GLib is a handy library of utility functions. This C library is designed to solve some portability problems and provide other useful functionality that most programs require.  

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

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

sudo dnf -y install glib

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

sudo yum -y install glib

How To Uninstall glib on Fedora 36

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

sudo dnf remove glib

glib Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/c1ecceec9f312845655ccccc95218a8e718ab4
/usr/lib/.build-id/17
/usr/lib/.build-id/17/ef0df008796022cc2d0f632e7a64646af233f9
/usr/lib/.build-id/83
/usr/lib/.build-id/83/affa320a7156e699d99b82ebb86350ee58c56d
/usr/lib/libglib-1.2.so.0
/usr/lib/libglib-1.2.so.0.0.10
/usr/lib/libgmodule-1.2.so.0
/usr/lib/libgmodule-1.2.so.0.0.10
/usr/lib/libgthread-1.2.so.0
/usr/lib/libgthread-1.2.so.0.0.10
/usr/share/doc/glib
/usr/share/doc/glib/AUTHORS
/usr/share/doc/glib/ChangeLog
/usr/share/doc/glib/NEWS
/usr/share/doc/glib/README
/usr/share/licenses/glib
/usr/share/licenses/glib/COPYING

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/45 /usr/lib/.build-id/45/b6da2f611716faf21880a2260922a11534cb75 /usr/lib/.build-id/bf /usr/lib/.build-id/bf/bad22a638fd8e0efbf5b25df37ea4f002130bb /usr/lib/.build-id/f3 /usr/lib/.build-id/f3/d96da6a6c06193018c3dc7f1c6e71915a714c2 /usr/lib64/libglib-1.2.so.0 /usr/lib64/libglib-1.2.so.0.0.10 /usr/lib64/libgmodule-1.2.so.0 /usr/lib64/libgmodule-1.2.so.0.0.10 /usr/lib64/libgthread-1.2.so.0 /usr/lib64/libgthread-1.2.so.0.0.10 /usr/share/doc/glib /usr/share/doc/glib/AUTHORS /usr/share/doc/glib/ChangeLog /usr/share/doc/glib/NEWS /usr/share/doc/glib/README /usr/share/licenses/glib /usr/share/licenses/glib/COPYING


## References

* [glib website](http://www.gtk.org/)

## Summary

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