How To Install glib2 on Fedora 36
Introduction
In this tutorial we learn how to install glib2
on Fedora 36.
What is glib2
GLib is the low-level core library that forms the basis for projects such as GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.
We can use yum
or dnf
to install glib2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install glib2.
Install glib2 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 glib2
using dnf
by running the following command:
sudo dnf -y install glib2
Install glib2 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 glib2
using yum
by running the following command:
sudo yum -y install glib2
How To Uninstall glib2 on Fedora 36
To uninstall only the glib2
package we can use the following command:
sudo dnf remove glib2
glib2 Package Contents on Fedora 36
/usr/bin/gapplication
/usr/bin/gdbus
/usr/bin/gio
/usr/bin/gio-querymodules-64
/usr/bin/glib-compile-schemas
/usr/bin/gsettings
/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/da0394c4ae4a3bf29475e5c45701e791ff3edc
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/1ea6a22d9e65bd59e2dcc247118705625ab5c3
/usr/lib/.build-id/51
/usr/lib/.build-id/51/f2d7277bc242712b660ca06bad57b9760c76cd
/usr/lib/.build-id/77
/usr/lib/.build-id/77/28006ff95c655bdc65f5ae3cdd2c6bff29cb34
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/a605be8941ac0cef6c84b060b6688a8057ee4c
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/55e86c8ad421f67a49c6f87f76ba2b7471d2a2
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/b8778e31fb8be6c58d289675ab14eac1b2566c
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/c16dc3e370c16eef8acc46028afd7070efd6b1
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/1a641974b333ea1d6a4513d1657a75a36a03da
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/0d536367994e8cccfd8f1ad70e66477379446f
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/129d9634aefd0a89a18de217df84871fc2f1cc
/usr/lib64/gio
/usr/lib64/gio/modules
/usr/lib64/gio/modules/giomodule.cache
/usr/lib64/libgio-2.0.so.0
/usr/lib64/libgio-2.0.so.0.7200.0
/usr/lib64/libglib-2.0.so.0
/usr/lib64/libglib-2.0.so.0.7200.0
/usr/lib64/libgmodule-2.0.so.0
/usr/lib64/libgmodule-2.0.so.0.7200.0
/usr/lib64/libgobject-2.0.so.0
/usr/lib64/libgobject-2.0.so.0.7200.0
/usr/lib64/libgthread-2.0.so.0
/usr/lib64/libgthread-2.0.so.0.7200.0
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/gapplication
/usr/share/bash-completion/completions/gdbus
/usr/share/bash-completion/completions/gio
/usr/share/bash-completion/completions/gsettings
/usr/share/doc/glib2
/usr/share/doc/glib2/AUTHORS
/usr/share/doc/glib2/NEWS
/usr/share/doc/glib2/README
/usr/share/glib-2.0
/usr/share/glib-2.0/schemas
/usr/share/licenses/glib2
/usr/share/licenses/glib2/COPYING
/usr/share/locale/af/LC_MESSAGES/glib20.mo
/usr/share/locale/am/LC_MESSAGES/glib20.mo
/usr/share/locale/an/LC_MESSAGES/glib20.mo
/usr/share/locale/ar/LC_MESSAGES/glib20.mo
/usr/share/locale/as/LC_MESSAGES/glib20.mo
/usr/share/locale/ast/LC_MESSAGES/glib20.mo
/usr/share/locale/az/LC_MESSAGES/glib20.mo
/usr/share/locale/be/LC_MESSAGES/glib20.mo
/usr/share/locale/be@latin/LC_MESSAGES/glib20.mo
/usr/share/locale/bg/LC_MESSAGES/glib20.mo
/usr/share/locale/bn/LC_MESSAGES/glib20.mo
/usr/share/locale/bn_IN/LC_MESSAGES/glib20.mo
/usr/share/locale/bs/LC_MESSAGES/glib20.mo
/usr/share/locale/ca/LC_MESSAGES/glib20.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/glib20.mo
/usr/share/locale/cs/LC_MESSAGES/glib20.mo
/usr/share/locale/cy/LC_MESSAGES/glib20.mo
/usr/share/locale/da/LC_MESSAGES/glib20.mo
/usr/share/locale/de/LC_MESSAGES/glib20.mo
/usr/share/locale/dz/LC_MESSAGES/glib20.mo
/usr/share/locale/el/LC_MESSAGES/glib20.mo
/usr/share/locale/en@shaw/LC_MESSAGES/glib20.mo
/usr/share/locale/en_CA/LC_MESSAGES/glib20.mo
/usr/share/locale/en_GB/LC_MESSAGES/glib20.mo
/usr/share/locale/eo/LC_MESSAGES/glib20.mo
/usr/share/locale/es/LC_MESSAGES/glib20.mo
/usr/share/locale/et/LC_MESSAGES/glib20.mo
/usr/share/locale/eu/LC_MESSAGES/glib20.mo
/usr/share/locale/fa/LC_MESSAGES/glib20.mo
/usr/share/locale/fi/LC_MESSAGES/glib20.mo
/usr/share/locale/fr/LC_MESSAGES/glib20.mo
/usr/share/locale/fur/LC_MESSAGES/glib20.mo
/usr/share/locale/ga/LC_MESSAGES/glib20.mo
/usr/share/locale/gd/LC_MESSAGES/glib20.mo
/usr/share/locale/gl/LC_MESSAGES/glib20.mo
/usr/share/locale/gu/LC_MESSAGES/glib20.mo
/usr/share/locale/he/LC_MESSAGES/glib20.mo
/usr/share/locale/hi/LC_MESSAGES/glib20.mo
/usr/share/locale/hr/LC_MESSAGES/glib20.mo
/usr/share/locale/hu/LC_MESSAGES/glib20.mo
/usr/share/locale/hy/LC_MESSAGES/glib20.mo
/usr/share/locale/id/LC_MESSAGES/glib20.mo
/usr/share/locale/is/LC_MESSAGES/glib20.mo
/usr/share/locale/it/LC_MESSAGES/glib20.mo
/usr/share/locale/ja/LC_MESSAGES/glib20.mo
/usr/share/locale/ka/LC_MESSAGES/glib20.mo
/usr/share/locale/kk/LC_MESSAGES/glib20.mo
/usr/share/locale/kn/LC_MESSAGES/glib20.mo
/usr/share/locale/ko/LC_MESSAGES/glib20.mo
/usr/share/locale/ku/LC_MESSAGES/glib20.mo
/usr/share/locale/lt/LC_MESSAGES/glib20.mo
/usr/share/locale/lv/LC_MESSAGES/glib20.mo
/usr/share/locale/mai/LC_MESSAGES/glib20.mo
/usr/share/locale/mg/LC_MESSAGES/glib20.mo
/usr/share/locale/mk/LC_MESSAGES/glib20.mo
/usr/share/locale/ml/LC_MESSAGES/glib20.mo
/usr/share/locale/mn/LC_MESSAGES/glib20.mo
/usr/share/locale/mr/LC_MESSAGES/glib20.mo
/usr/share/locale/ms/LC_MESSAGES/glib20.mo
/usr/share/locale/nb/LC_MESSAGES/glib20.mo
/usr/share/locale/nds/LC_MESSAGES/glib20.mo
/usr/share/locale/ne/LC_MESSAGES/glib20.mo
/usr/share/locale/nl/LC_MESSAGES/glib20.mo
/usr/share/locale/nn/LC_MESSAGES/glib20.mo
/usr/share/locale/oc/LC_MESSAGES/glib20.mo
/usr/share/locale/or/LC_MESSAGES/glib20.mo
/usr/share/locale/pa/LC_MESSAGES/glib20.mo
/usr/share/locale/pl/LC_MESSAGES/glib20.mo
/usr/share/locale/ps/LC_MESSAGES/glib20.mo
/usr/share/locale/pt/LC_MESSAGES/glib20.mo
/usr/share/locale/pt_BR/LC_MESSAGES/glib20.mo
/usr/share/locale/ro/LC_MESSAGES/glib20.mo
/usr/share/locale/ru/LC_MESSAGES/glib20.mo
/usr/share/locale/rw/LC_MESSAGES/glib20.mo
/usr/share/locale/si/LC_MESSAGES/glib20.mo
/usr/share/locale/sk/LC_MESSAGES/glib20.mo
/usr/share/locale/sl/LC_MESSAGES/glib20.mo
/usr/share/locale/sq/LC_MESSAGES/glib20.mo
/usr/share/locale/sr/LC_MESSAGES/glib20.mo
/usr/share/locale/sr@ije/LC_MESSAGES/glib20.mo
/usr/share/locale/sr@latin/LC_MESSAGES/glib20.mo
/usr/share/locale/sv/LC_MESSAGES/glib20.mo
/usr/share/locale/ta/LC_MESSAGES/glib20.mo
/usr/share/locale/te/LC_MESSAGES/glib20.mo
/usr/share/locale/tg/LC_MESSAGES/glib20.mo
/usr/share/locale/th/LC_MESSAGES/glib20.mo
/usr/share/locale/tl/LC_MESSAGES/glib20.mo
/usr/share/locale/tr/LC_MESSAGES/glib20.mo
/usr/share/locale/tt/LC_MESSAGES/glib20.mo
/usr/share/locale/ug/LC_MESSAGES/glib20.mo
/usr/share/locale/uk/LC_MESSAGES/glib20.mo
/usr/share/locale/vi/LC_MESSAGES/glib20.mo
/usr/share/locale/wa/LC_MESSAGES/glib20.mo
/usr/share/locale/xh/LC_MESSAGES/glib20.mo
/usr/share/locale/yi/LC_MESSAGES/glib20.mo
/usr/share/locale/zh_CN/LC_MESSAGES/glib20.mo
/usr/share/locale/zh_HK/LC_MESSAGES/glib20.mo
/usr/share/locale/zh_TW/LC_MESSAGES/glib20.mo
/usr/share/man/man1/gapplication.1.gz
/usr/share/man/man1/gdbus.1.gz
/usr/share/man/man1/gio-querymodules.1.gz
/usr/share/man/man1/gio.1.gz
/usr/share/man/man1/glib-compile-schemas.1.gz
/usr/share/man/man1/gsettings.1.gz
/usr/bin/gapplication
/usr/bin/gdbus
/usr/bin/gio
/usr/bin/gio-querymodules-64
/usr/bin/glib-compile-schemas
/usr/bin/gsettings
/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/2fdbd27cdd812bfe2e9e7bc2669156d8cca77b
/usr/lib/.build-id/39
/usr/lib/.build-id/39/6bf496ed692c39132a31b94f323925762623b1
/usr/lib/.build-id/55
/usr/lib/.build-id/55/42341d2a58b848fd81ca1711ed4f7c9ce9f135
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/032c9cbf82f260e5b2fd25691b7a0121674450
/usr/lib/.build-id/62
/usr/lib/.build-id/62/2b9a65f8dff8e026c8af7148f55d4df1a2c9e4
/usr/lib/.build-id/67
/usr/lib/.build-id/67/f3539f50fffc4c17fd24b0a47b8a800d12db56
/usr/lib/.build-id/97
/usr/lib/.build-id/97/8ff8b8f0eebfea69b227954f8b158eb2ef59c7
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/a9b713c28e92d3fe90a60e076bf5123ac609e2
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/9f0931dd11036686b475c134583703cedac449
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/6e11d00bd7c0300fa229692165390eb2f64e2e
/usr/lib/.build-id/de
/usr/lib/.build-id/de/61495876699eaf50b19fe022c53a4dd22fffc0
/usr/lib64/gio
/usr/lib64/gio/modules
/usr/lib64/gio/modules/giomodule.cache
/usr/lib64/libgio-2.0.so.0
/usr/lib64/libgio-2.0.so.0.7200.1
/usr/lib64/libglib-2.0.so.0
/usr/lib64/libglib-2.0.so.0.7200.1
/usr/lib64/libgmodule-2.0.so.0
/usr/lib64/libgmodule-2.0.so.0.7200.1
/usr/lib64/libgobject-2.0.so.0
/usr/lib64/libgobject-2.0.so.0.7200.1
/usr/lib64/libgthread-2.0.so.0
/usr/lib64/libgthread-2.0.so.0.7200.1
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/gapplication
/usr/share/bash-completion/completions/gdbus
/usr/share/bash-completion/completions/gio
/usr/share/bash-completion/completions/gsettings
/usr/share/doc/glib2
/usr/share/doc/glib2/AUTHORS
/usr/share/doc/glib2/NEWS
/usr/share/doc/glib2/README
/usr/share/glib-2.0
/usr/share/glib-2.0/schemas
/usr/share/licenses/glib2
/usr/share/licenses/glib2/COPYING
/usr/share/locale/af/LC_MESSAGES/glib20.mo
/usr/share/locale/am/LC_MESSAGES/glib20.mo
/usr/share/locale/an/LC_MESSAGES/glib20.mo
/usr/share/locale/ar/LC_MESSAGES/glib20.mo
/usr/share/locale/as/LC_MESSAGES/glib20.mo
/usr/share/locale/ast/LC_MESSAGES/glib20.mo
/usr/share/locale/az/LC_MESSAGES/glib20.mo
/usr/share/locale/be/LC_MESSAGES/glib20.mo
/usr/share/locale/be@latin/LC_MESSAGES/glib20.mo
/usr/share/locale/bg/LC_MESSAGES/glib20.mo
/usr/share/locale/bn/LC_MESSAGES/glib20.mo
/usr/share/locale/bn_IN/LC_MESSAGES/glib20.mo
/usr/share/locale/bs/LC_MESSAGES/glib20.mo
/usr/share/locale/ca/LC_MESSAGES/glib20.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/glib20.mo
/usr/share/locale/cs/LC_MESSAGES/glib20.mo
/usr/share/locale/cy/LC_MESSAGES/glib20.mo
/usr/share/locale/da/LC_MESSAGES/glib20.mo
/usr/share/locale/de/LC_MESSAGES/glib20.mo
/usr/share/locale/dz/LC_MESSAGES/glib20.mo
/usr/share/locale/el/LC_MESSAGES/glib20.mo
/usr/share/locale/en@shaw/LC_MESSAGES/glib20.mo
/usr/share/locale/en_CA/LC_MESSAGES/glib20.mo
/usr/share/locale/en_GB/LC_MESSAGES/glib20.mo
/usr/share/locale/eo/LC_MESSAGES/glib20.mo
/usr/share/locale/es/LC_MESSAGES/glib20.mo
/usr/share/locale/et/LC_MESSAGES/glib20.mo
/usr/share/locale/eu/LC_MESSAGES/glib20.mo
/usr/share/locale/fa/LC_MESSAGES/glib20.mo
/usr/share/locale/fi/LC_MESSAGES/glib20.mo
/usr/share/locale/fr/LC_MESSAGES/glib20.mo
/usr/share/locale/fur/LC_MESSAGES/glib20.mo
/usr/share/locale/ga/LC_MESSAGES/glib20.mo
/usr/share/locale/gd/LC_MESSAGES/glib20.mo
/usr/share/locale/gl/LC_MESSAGES/glib20.mo
/usr/share/locale/gu/LC_MESSAGES/glib20.mo
/usr/share/locale/he/LC_MESSAGES/glib20.mo
/usr/share/locale/hi/LC_MESSAGES/glib20.mo
/usr/share/locale/hr/LC_MESSAGES/glib20.mo
/usr/share/locale/hu/LC_MESSAGES/glib20.mo
/usr/share/locale/hy/LC_MESSAGES/glib20.mo
/usr/share/locale/id/LC_MESSAGES/glib20.mo
/usr/share/locale/is/LC_MESSAGES/glib20.mo
/usr/share/locale/it/LC_MESSAGES/glib20.mo
/usr/share/locale/ja/LC_MESSAGES/glib20.mo
/usr/share/locale/ka/LC_MESSAGES/glib20.mo
/usr/share/locale/kk/LC_MESSAGES/glib20.mo
/usr/share/locale/kn/LC_MESSAGES/glib20.mo
/usr/share/locale/ko/LC_MESSAGES/glib20.mo
/usr/share/locale/ku/LC_MESSAGES/glib20.mo
/usr/share/locale/lt/LC_MESSAGES/glib20.mo
/usr/share/locale/lv/LC_MESSAGES/glib20.mo
/usr/share/locale/mai/LC_MESSAGES/glib20.mo
/usr/share/locale/mg/LC_MESSAGES/glib20.mo
/usr/share/locale/mk/LC_MESSAGES/glib20.mo
/usr/share/locale/ml/LC_MESSAGES/glib20.mo
/usr/share/locale/mn/LC_MESSAGES/glib20.mo
/usr/share/locale/mr/LC_MESSAGES/glib20.mo
/usr/share/locale/ms/LC_MESSAGES/glib20.mo
/usr/share/locale/nb/LC_MESSAGES/glib20.mo
/usr/share/locale/nds/LC_MESSAGES/glib20.mo
/usr/share/locale/ne/LC_MESSAGES/glib20.mo
/usr/share/locale/nl/LC_MESSAGES/glib20.mo
/usr/share/locale/nn/LC_MESSAGES/glib20.mo
/usr/share/locale/oc/LC_MESSAGES/glib20.mo
/usr/share/locale/or/LC_MESSAGES/glib20.mo
/usr/share/locale/pa/LC_MESSAGES/glib20.mo
/usr/share/locale/pl/LC_MESSAGES/glib20.mo
/usr/share/locale/ps/LC_MESSAGES/glib20.mo
/usr/share/locale/pt/LC_MESSAGES/glib20.mo
/usr/share/locale/pt_BR/LC_MESSAGES/glib20.mo
/usr/share/locale/ro/LC_MESSAGES/glib20.mo
/usr/share/locale/ru/LC_MESSAGES/glib20.mo
/usr/share/locale/rw/LC_MESSAGES/glib20.mo
/usr/share/locale/si/LC_MESSAGES/glib20.mo
/usr/share/locale/sk/LC_MESSAGES/glib20.mo
/usr/share/locale/sl/LC_MESSAGES/glib20.mo
/usr/share/locale/sq/LC_MESSAGES/glib20.mo
/usr/share/locale/sr/LC_MESSAGES/glib20.mo
/usr/share/locale/sr@ije/LC_MESSAGES/glib20.mo
/usr/share/locale/sr@latin/LC_MESSAGES/glib20.mo
/usr/share/locale/sv/LC_MESSAGES/glib20.mo
/usr/share/locale/ta/LC_MESSAGES/glib20.mo
/usr/share/locale/te/LC_MESSAGES/glib20.mo
/usr/share/locale/tg/LC_MESSAGES/glib20.mo
/usr/share/locale/th/LC_MESSAGES/glib20.mo
/usr/share/locale/tl/LC_MESSAGES/glib20.mo
/usr/share/locale/tr/LC_MESSAGES/glib20.mo
/usr/share/locale/tt/LC_MESSAGES/glib20.mo
/usr/share/locale/ug/LC_MESSAGES/glib20.mo
/usr/share/locale/uk/LC_MESSAGES/glib20.mo
/usr/share/locale/vi/LC_MESSAGES/glib20.mo
/usr/share/locale/wa/LC_MESSAGES/glib20.mo
/usr/share/locale/xh/LC_MESSAGES/glib20.mo
/usr/share/locale/yi/LC_MESSAGES/glib20.mo
/usr/share/locale/zh_CN/LC_MESSAGES/glib20.mo
/usr/share/locale/zh_HK/LC_MESSAGES/glib20.mo
/usr/share/locale/zh_TW/LC_MESSAGES/glib20.mo
/usr/share/man/man1/gapplication.1.gz
/usr/share/man/man1/gdbus.1.gz
/usr/share/man/man1/gio-querymodules.1.gz
/usr/share/man/man1/gio.1.gz
/usr/share/man/man1/glib-compile-schemas.1.gz
/usr/share/man/man1/gsettings.1.gz
References
Summary
In this tutorial we learn how to install glib2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).