How To Install gtk2.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gtk2.x86_64 in Amazon Linux 2. gtk2.x86_64 is The GIMP ToolKit (GTK+), a library for creating GUIs for X

Introduction

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

What is gtk2.x86_64

GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites.

We can use yum to install gtk2.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gtk2.x86_64.

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

sudo yum -y install gtk2.x86_64

How To Uninstall gtk2.x86_64 on Amazon Linux 2

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

sudo yum remove gtk2.x86_64

gtk2.x86_64 Package Contents on Amazon Linux 2

/usr/bin/gtk-query-immodules-2.0-64
/usr/bin/update-gtk-immodules
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/Gdk-2.0.typelib
/usr/lib64/girepository-1.0/GdkX11-2.0.typelib
/usr/lib64/girepository-1.0/Gtk-2.0.typelib
/usr/lib64/gtk-2.0
/usr/lib64/gtk-2.0/2.10.0
/usr/lib64/gtk-2.0/2.10.0/engines
/usr/lib64/gtk-2.0/2.10.0/engines/libpixmap.so
/usr/lib64/gtk-2.0/2.10.0/filesystems
/usr/lib64/gtk-2.0/2.10.0/immodules
/usr/lib64/gtk-2.0/2.10.0/immodules.cache
/usr/lib64/gtk-2.0/2.10.0/printbackends
/usr/lib64/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so
/usr/lib64/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so
/usr/lib64/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.so
/usr/lib64/gtk-2.0/immodules
/usr/lib64/gtk-2.0/modules
/usr/lib64/gtk-2.0/modules/libferret.so
/usr/lib64/gtk-2.0/modules/libgail.so
/usr/lib64/libgailutil.so.18
/usr/lib64/libgailutil.so.18.0.1
/usr/lib64/libgdk-x11-2.0.so.0
/usr/lib64/libgdk-x11-2.0.so.0.2400.31
/usr/lib64/libgtk-x11-2.0.so.0
/usr/lib64/libgtk-x11-2.0.so.0.2400.31
/usr/share/doc/gtk2-2.24.31
/usr/share/doc/gtk2-2.24.31/AUTHORS
/usr/share/doc/gtk2-2.24.31/NEWS
/usr/share/doc/gtk2-2.24.31/README
/usr/share/gtk-2.0
/usr/share/licenses/gtk2-2.24.31
/usr/share/licenses/gtk2-2.24.31/COPYING
/usr/share/locale/af/LC_MESSAGES/gtk20.mo
/usr/share/locale/am/LC_MESSAGES/gtk20.mo
/usr/share/locale/ang/LC_MESSAGES/gtk20.mo
/usr/share/locale/ar/LC_MESSAGES/gtk20.mo
/usr/share/locale/as/LC_MESSAGES/gtk20.mo
/usr/share/locale/ast/LC_MESSAGES/gtk20.mo
/usr/share/locale/az/LC_MESSAGES/gtk20.mo
/usr/share/locale/az_IR/LC_MESSAGES/gtk20.mo
/usr/share/locale/be/LC_MESSAGES/gtk20.mo
/usr/share/locale/be@latin/LC_MESSAGES/gtk20.mo
/usr/share/locale/bg/LC_MESSAGES/gtk20.mo
/usr/share/locale/bn/LC_MESSAGES/gtk20.mo
/usr/share/locale/bn_IN/LC_MESSAGES/gtk20.mo
/usr/share/locale/br/LC_MESSAGES/gtk20.mo
/usr/share/locale/bs/LC_MESSAGES/gtk20.mo
/usr/share/locale/ca/LC_MESSAGES/gtk20.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/gtk20.mo
/usr/share/locale/crh/LC_MESSAGES/gtk20.mo
/usr/share/locale/cs/LC_MESSAGES/gtk20.mo
/usr/share/locale/cy/LC_MESSAGES/gtk20.mo
/usr/share/locale/da/LC_MESSAGES/gtk20.mo
/usr/share/locale/de/LC_MESSAGES/gtk20.mo
/usr/share/locale/dz/LC_MESSAGES/gtk20.mo
/usr/share/locale/el/LC_MESSAGES/gtk20.mo
/usr/share/locale/en_CA/LC_MESSAGES/gtk20.mo
/usr/share/locale/en_GB/LC_MESSAGES/gtk20.mo
/usr/share/locale/eo/LC_MESSAGES/gtk20.mo
/usr/share/locale/es/LC_MESSAGES/gtk20.mo
/usr/share/locale/et/LC_MESSAGES/gtk20.mo
/usr/share/locale/eu/LC_MESSAGES/gtk20.mo
/usr/share/locale/fa/LC_MESSAGES/gtk20.mo
/usr/share/locale/fi/LC_MESSAGES/gtk20.mo
/usr/share/locale/fr/LC_MESSAGES/gtk20.mo
/usr/share/locale/ga/LC_MESSAGES/gtk20.mo
/usr/share/locale/gl/LC_MESSAGES/gtk20.mo
/usr/share/locale/gu/LC_MESSAGES/gtk20.mo
/usr/share/locale/he/LC_MESSAGES/gtk20.mo
/usr/share/locale/hi/LC_MESSAGES/gtk20.mo
/usr/share/locale/hr/LC_MESSAGES/gtk20.mo
/usr/share/locale/hu/LC_MESSAGES/gtk20.mo
/usr/share/locale/hy/LC_MESSAGES/gtk20.mo
/usr/share/locale/ia/LC_MESSAGES/gtk20.mo
/usr/share/locale/id/LC_MESSAGES/gtk20.mo
/usr/share/locale/io/LC_MESSAGES/gtk20.mo
/usr/share/locale/is/LC_MESSAGES/gtk20.mo
/usr/share/locale/it/LC_MESSAGES/gtk20.mo
/usr/share/locale/ja/LC_MESSAGES/gtk20.mo
/usr/share/locale/ka/LC_MESSAGES/gtk20.mo
/usr/share/locale/kk/LC_MESSAGES/gtk20.mo
/usr/share/locale/kn/LC_MESSAGES/gtk20.mo
/usr/share/locale/ko/LC_MESSAGES/gtk20.mo
/usr/share/locale/ku/LC_MESSAGES/gtk20.mo
/usr/share/locale/li/LC_MESSAGES/gtk20.mo
/usr/share/locale/lt/LC_MESSAGES/gtk20.mo
/usr/share/locale/lv/LC_MESSAGES/gtk20.mo
/usr/share/locale/mai/LC_MESSAGES/gtk20.mo
/usr/share/locale/mi/LC_MESSAGES/gtk20.mo
/usr/share/locale/mk/LC_MESSAGES/gtk20.mo
/usr/share/locale/ml/LC_MESSAGES/gtk20.mo
/usr/share/locale/mn/LC_MESSAGES/gtk20.mo
/usr/share/locale/mr/LC_MESSAGES/gtk20.mo
/usr/share/locale/ms/LC_MESSAGES/gtk20.mo
/usr/share/locale/my/LC_MESSAGES/gtk20.mo
/usr/share/locale/nb/LC_MESSAGES/gtk20.mo
/usr/share/locale/nds/LC_MESSAGES/gtk20.mo
/usr/share/locale/ne/LC_MESSAGES/gtk20.mo
/usr/share/locale/nl/LC_MESSAGES/gtk20.mo
/usr/share/locale/nn/LC_MESSAGES/gtk20.mo
/usr/share/locale/nso/LC_MESSAGES/gtk20.mo
/usr/share/locale/oc/LC_MESSAGES/gtk20.mo
/usr/share/locale/or/LC_MESSAGES/gtk20.mo
/usr/share/locale/pa/LC_MESSAGES/gtk20.mo
/usr/share/locale/pl/LC_MESSAGES/gtk20.mo
/usr/share/locale/ps/LC_MESSAGES/gtk20.mo
/usr/share/locale/pt/LC_MESSAGES/gtk20.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gtk20.mo
/usr/share/locale/ro/LC_MESSAGES/gtk20.mo
/usr/share/locale/ru/LC_MESSAGES/gtk20.mo
/usr/share/locale/rw/LC_MESSAGES/gtk20.mo
/usr/share/locale/si/LC_MESSAGES/gtk20.mo
/usr/share/locale/sk/LC_MESSAGES/gtk20.mo
/usr/share/locale/sl/LC_MESSAGES/gtk20.mo
/usr/share/locale/sq/LC_MESSAGES/gtk20.mo
/usr/share/locale/sr/LC_MESSAGES/gtk20.mo
/usr/share/locale/sr@ije/LC_MESSAGES/gtk20.mo
/usr/share/locale/sr@latin/LC_MESSAGES/gtk20.mo
/usr/share/locale/sv/LC_MESSAGES/gtk20.mo
/usr/share/locale/ta/LC_MESSAGES/gtk20.mo
/usr/share/locale/te/LC_MESSAGES/gtk20.mo
/usr/share/locale/th/LC_MESSAGES/gtk20.mo
/usr/share/locale/tk/LC_MESSAGES/gtk20.mo
/usr/share/locale/tr/LC_MESSAGES/gtk20.mo
/usr/share/locale/tt/LC_MESSAGES/gtk20.mo
/usr/share/locale/ug/LC_MESSAGES/gtk20.mo
/usr/share/locale/uk/LC_MESSAGES/gtk20.mo
/usr/share/locale/ur/LC_MESSAGES/gtk20.mo
/usr/share/locale/uz/LC_MESSAGES/gtk20.mo
/usr/share/locale/uz@cyrillic/LC_MESSAGES/gtk20.mo
/usr/share/locale/vi/LC_MESSAGES/gtk20.mo
/usr/share/locale/wa/LC_MESSAGES/gtk20.mo
/usr/share/locale/xh/LC_MESSAGES/gtk20.mo
/usr/share/locale/yi/LC_MESSAGES/gtk20.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gtk20.mo
/usr/share/locale/zh_HK/LC_MESSAGES/gtk20.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gtk20.mo
/usr/share/man/man1/gtk-query-immodules-2.0-64.1.gz
/usr/share/man/man1/gtk-query-immodules-2.0.1.gz
/usr/share/man/man1/update-gtk-immodules.1.gz
/usr/share/themes/Default
/usr/share/themes/Default/gtk-2.0-key
/usr/share/themes/Default/gtk-2.0-key/gtkrc
/usr/share/themes/Emacs
/usr/share/themes/Emacs/gtk-2.0-key
/usr/share/themes/Emacs/gtk-2.0-key/gtkrc
/usr/share/themes/Raleigh
/usr/share/themes/Raleigh/gtk-2.0
/usr/share/themes/Raleigh/gtk-2.0/gtkrc

References

Summary

In this tutorial we learn how to install gtk2.x86_64 on Amazon Linux 2 using yum.