How to Install and Uninstall gtk2.x86_64 Package on Amazon Linux 2

Last updated: January 22,2025

1. Install "gtk2.x86_64" package

This is a short guide on how to install gtk2.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install gtk2.x86_64

2. Uninstall "gtk2.x86_64" package

Please follow the instructions below to uninstall gtk2.x86_64 on Amazon Linux 2:

$ sudo yum remove gtk2.x86_64 $ sudo yum autoremove

3. Information about the gtk2.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : gtk2
Arch : x86_64
Version : 2.24.31
Release : 1.amzn2.0.2
Size : 3.4 M
Repo : amzn2-core/2/x86_64
Summary : The GIMP ToolKit (GTK+), a library for creating GUIs for X
URL : http://www.gtk.org
License : LGPLv2+
Description : 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.