How To Install glade2 on Fedora 34

glade2 is User Interface Designer for GTK+ 2, legacy version

Introduction

In this tutorial we learn how to install glade2 on Fedora 34.

What is glade2

The glade2 package contains a legacy version of Glade for GTK+ 2.x. Do not use it for new projects, use glade (for GTK+ 3.x) or glade3 (for GTK+ 2.x) instead. Glade is a free user interface builder for GTK+ and the GNOME GUI desktop. Glade can produce C source code. Support for C++, Ada95, Python, and Perl is also available, via external tools which process the XML interface description files output by GLADE.

We can use yum or dnf to install glade2 on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install glade2.

Install glade2 on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install glade2 using dnf by running the following command:

sudo dnf -y install glade2

Install glade2 on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install glade2 using yum by running the following command:

sudo yum -y install glade2

How To Uninstall glade2 on Fedora 34

To uninstall only the glade2 package we can use the following command:

sudo dnf remove glade2

glade2 Package Contents on Fedora 34

/usr/bin/glade-2
/usr/lib/.build-id
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/e9d2b60d195d8183872bd0d74139332e555fb2
/usr/share/applications/gnome-glade-2.desktop
/usr/share/doc/glade2
/usr/share/doc/glade2/AUTHORS
/usr/share/doc/glade2/COPYING
/usr/share/doc/glade2/NEWS
/usr/share/doc/glade2/README
/usr/share/doc/glade2/TODO
/usr/share/glade-2
/usr/share/glade-2/gtk
/usr/share/glade-2/gtk/autogen.sh
/usr/share/gnome/help/glade-2
/usr/share/gnome/help/glade-2/C
/usr/share/gnome/help/glade-2/C/figures
/usr/share/gnome/help/glade-2/C/figures/edit-menu.png
/usr/share/gnome/help/glade-2/C/figures/file-menu.png
/usr/share/gnome/help/glade-2/C/figures/glade-windows.png
/usr/share/gnome/help/glade-2/C/figures/grid-options.png
/usr/share/gnome/help/glade-2/C/figures/help-menu.png
/usr/share/gnome/help/glade-2/C/figures/menu.png
/usr/share/gnome/help/glade-2/C/figures/options-c.png
/usr/share/gnome/help/glade-2/C/figures/options-general.png
/usr/share/gnome/help/glade-2/C/figures/options-libglade.png
/usr/share/gnome/help/glade-2/C/figures/settings-menu.png
/usr/share/gnome/help/glade-2/C/figures/snap-options.png
/usr/share/gnome/help/glade-2/C/figures/toolbar.png
/usr/share/gnome/help/glade-2/C/figures/view-menu.png
/usr/share/gnome/help/glade-2/C/figures/window-main.png
/usr/share/gnome/help/glade-2/C/figures/window-palette-add.png
/usr/share/gnome/help/glade-2/C/figures/window-palette-basic.png
/usr/share/gnome/help/glade-2/C/figures/window-palette-gnome.png
/usr/share/gnome/help/glade-2/C/glade-faq.xml
/usr/share/gnome/help/glade-2/C/glade-user-guide.xml
/usr/share/gnome/help/glade-2/C/legal.xml
/usr/share/gnome/help/glade-2/ro
/usr/share/gnome/help/glade-2/ro/figures
/usr/share/gnome/help/glade-2/ro/glade-faq.xml
/usr/share/gnome/help/glade-2/ro/legal.xml
/usr/share/locale/am/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/ar/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/az/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/be/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/ca/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/cs/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/da/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/de/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/dz/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/el/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/en_CA/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/en_GB/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/es/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/et/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/fi/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/fr/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/ga/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/gl/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/hr/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/hu/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/it/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/ja/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/ko/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/lv/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/mk/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/ml/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/ms/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/nb/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/ne/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/nl/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/nn/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/oc/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/pa/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/pl/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/pt/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/pt_BR/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/ro/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/ru/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/rw/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/sk/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/sq/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/sr/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/sr@latin/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/sv/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/tr/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/uk/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/vi/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/yi/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/zh_CN/LC_MESSAGES/glade-2.0.mo
/usr/share/locale/zh_TW/LC_MESSAGES/glade-2.0.mo
/usr/share/omf/glade-2
/usr/share/omf/glade-2/glade-faq-C.omf
/usr/share/omf/glade-2/glade-faq-ro.omf
/usr/share/omf/glade-2/glade-user-guide-C.omf
/usr/share/pixmaps/glade-2
/usr/share/pixmaps/glade-2.png
/usr/share/pixmaps/glade-2/glade_logo.png

References

Summary

In this tutorial we learn how to install glade2 on Fedora 34 using yum and dnf.