How To Install gnome-python2-gnome.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gnome-python2-gnome.x86_64 in Amazon Linux 2. gnome-python2-gnome.x86_64 is Python bindings for libgnome

Introduction

In this tutorial we learn how to install gnome-python2-gnome.x86_64 on Amazon Linux 2.

What is gnome-python2-gnome.x86_64

This module contains a wrapper that makes libgnome functionality available from Python.

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

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

sudo yum -y install gnome-python2-gnome.x86_64

How To Uninstall gnome-python2-gnome.x86_64 on Amazon Linux 2

To uninstall only the gnome-python2-gnome.x86_64 package we can use the following command:

sudo yum remove gnome-python2-gnome.x86_64

gnome-python2-gnome.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/python2.7/site-packages/gtk-2.0/gnome/__init__.py
/usr/lib64/python2.7/site-packages/gtk-2.0/gnome/__init__.pyc
/usr/lib64/python2.7/site-packages/gtk-2.0/gnome/__init__.pyo
/usr/lib64/python2.7/site-packages/gtk-2.0/gnome/_gnome.so
/usr/lib64/python2.7/site-packages/gtk-2.0/gnome/ui.so
/usr/share/pygtk/2.0/defs/gnome-types.defs
/usr/share/pygtk/2.0/defs/gnome.defs
/usr/share/pygtk/2.0/defs/ui.defs

References

Summary

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