How To Install glib2.x86_64 on Amazon Linux 2

In this tutorial we learn how to install glib2.x86_64 in Amazon Linux 2. glib2.x86_64 is A library of handy utility functions

Introduction

In this tutorial we learn how to install glib2.x86_64 on Amazon Linux 2.

What is glib2.x86_64

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 to install glib2.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install glib2.x86_64.

Install glib2.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install glib2.x86_64 using yum by running the following command:

sudo yum -y install glib2.x86_64

How To Uninstall glib2.x86_64 on Amazon Linux 2

To uninstall only the glib2.x86_64 package we can use the following command:

sudo yum remove glib2.x86_64

glib2.x86_64 Package Contents on Amazon Linux 2

/usr/bin/gapplication
/usr/bin/gdbus
/usr/bin/gio
/usr/bin/gio-querymodules-64
/usr/bin/glib-compile-schemas
/usr/bin/gsettings
/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.5600.1
/usr/lib64/libglib-2.0.so.0
/usr/lib64/libglib-2.0.so.0.5600.1
/usr/lib64/libgmodule-2.0.so.0
/usr/lib64/libgmodule-2.0.so.0.5600.1
/usr/lib64/libgobject-2.0.so.0
/usr/lib64/libgobject-2.0.so.0.5600.1
/usr/lib64/libgthread-2.0.so.0
/usr/lib64/libgthread-2.0.so.0.5600.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/gsettings
/usr/share/doc/glib2-2.56.1
/usr/share/doc/glib2-2.56.1/AUTHORS
/usr/share/doc/glib2-2.56.1/NEWS
/usr/share/doc/glib2-2.56.1/README
/usr/share/glib-2.0
/usr/share/glib-2.0/schemas
/usr/share/licenses/glib2-2.56.1
/usr/share/licenses/glib2-2.56.1/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.x86_64 on Amazon Linux 2 using yum.