How To Install pygtk2-libglade.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pygtk2-libglade.x86_64 in Amazon Linux 2. pygtk2-libglade.x86_64 is A wrapper for the libglade library for use with PyGTK

Introduction

In this tutorial we learn how to install pygtk2-libglade.x86_64 on Amazon Linux 2.

What is pygtk2-libglade.x86_64

This module contains a wrapper for the libglade library. Libglade allows a program to construct its user interface from an XML description, which allows the programmer to keep the UI and program logic separate.

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

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

sudo yum -y install pygtk2-libglade.x86_64

How To Uninstall pygtk2-libglade.x86_64 on Amazon Linux 2

To uninstall only the pygtk2-libglade.x86_64 package we can use the following command:

sudo yum remove pygtk2-libglade.x86_64

pygtk2-libglade.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/glade.so

References

Summary

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