How To Install pygtk2-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install pygtk2-devel
on Rocky Linux 8.
What is pygtk2-devel
This package contains files required to build wrappers for GTK+ add-on libraries so that they interoperate with pygtk.
We can use yum
or dnf
to install pygtk2-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pygtk2-devel.
Install pygtk2-devel on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install pygtk2-devel
using dnf
by running the following command:
sudo dnf -y install pygtk2-devel
Install pygtk2-devel on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pygtk2-devel
using yum
by running the following command:
sudo yum -y install pygtk2-devel
How To Uninstall pygtk2-devel on Rocky Linux 8
To uninstall only the pygtk2-devel
package we can use the following command:
sudo dnf remove pygtk2-devel
pygtk2-devel Package Contents on Rocky Linux 8
/usr/include/pygtk-2.0
/usr/include/pygtk-2.0/pygtk
/usr/include/pygtk-2.0/pygtk/pygtk.h
/usr/lib64/pkgconfig/pygtk-2.0.pc
/usr/share/pygtk
/usr/share/pygtk/2.0
/usr/share/pygtk/2.0/defs
/usr/share/pygtk/2.0/defs/atk-types.defs
/usr/share/pygtk/2.0/defs/atk.defs
/usr/share/pygtk/2.0/defs/gdk-2.10.defs
/usr/share/pygtk/2.0/defs/gdk-2.12.defs
/usr/share/pygtk/2.0/defs/gdk-2.14.defs
/usr/share/pygtk/2.0/defs/gdk-2.16.defs
/usr/share/pygtk/2.0/defs/gdk-2.18.defs
/usr/share/pygtk/2.0/defs/gdk-2.20.defs
/usr/share/pygtk/2.0/defs/gdk-2.22.defs
/usr/share/pygtk/2.0/defs/gdk-2.24.defs
/usr/share/pygtk/2.0/defs/gdk-base-types.defs
/usr/share/pygtk/2.0/defs/gdk-base.defs
/usr/share/pygtk/2.0/defs/gdk-types.defs
/usr/share/pygtk/2.0/defs/gdk.defs
/usr/share/pygtk/2.0/defs/gtk-2.10-types.defs
/usr/share/pygtk/2.0/defs/gtk-2.10.defs
/usr/share/pygtk/2.0/defs/gtk-2.12-types.defs
/usr/share/pygtk/2.0/defs/gtk-2.12.defs
/usr/share/pygtk/2.0/defs/gtk-2.14-types.defs
/usr/share/pygtk/2.0/defs/gtk-2.14.defs
/usr/share/pygtk/2.0/defs/gtk-2.16-types.defs
/usr/share/pygtk/2.0/defs/gtk-2.16.defs
/usr/share/pygtk/2.0/defs/gtk-2.18-types.defs
/usr/share/pygtk/2.0/defs/gtk-2.18.defs
/usr/share/pygtk/2.0/defs/gtk-2.20-types.defs
/usr/share/pygtk/2.0/defs/gtk-2.20.defs
/usr/share/pygtk/2.0/defs/gtk-2.22-types.defs
/usr/share/pygtk/2.0/defs/gtk-2.22.defs
/usr/share/pygtk/2.0/defs/gtk-2.24-types.defs
/usr/share/pygtk/2.0/defs/gtk-2.24.defs
/usr/share/pygtk/2.0/defs/gtk-base-types.defs
/usr/share/pygtk/2.0/defs/gtk-base.defs
/usr/share/pygtk/2.0/defs/gtk-extrafuncs.defs
/usr/share/pygtk/2.0/defs/gtk-types.defs
/usr/share/pygtk/2.0/defs/gtk.defs
/usr/share/pygtk/2.0/defs/gtkunixprint-2.12.defs
/usr/share/pygtk/2.0/defs/gtkunixprint-2.14.defs
/usr/share/pygtk/2.0/defs/gtkunixprint-base-types.defs
/usr/share/pygtk/2.0/defs/gtkunixprint-base.defs
/usr/share/pygtk/2.0/defs/pango-types.defs
/usr/share/pygtk/2.0/defs/pango.defs
/usr/share/pygtk/2.0/defs/pangocairo.defs
/usr/share/pygtk/2.0/defs/pangocairo.override
References
Summary
In this tutorial we learn how to install pygtk2-devel
on Rocky Linux 8 using yum and dnf.