How To Install yad on Fedora 34

yad is Display graphical dialogs from shell scripts or command line

Introduction

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

What is yad

Yad (yet another dialog) is a fork of zenity with many improvements, such as custom buttons, additional dialogs, pop-up menu in notification icon and more.

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

Install yad 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 yad using dnf by running the following command:

sudo dnf -y install yad

Install yad 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 yad using yum by running the following command:

sudo yum -y install yad

How To Uninstall yad on Fedora 34

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

sudo dnf remove yad

yad Package Contents on Fedora 34

/usr/bin/yad
/usr/bin/yad-icon-browser
/usr/bin/yad-tools
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/7426702891ab77ec1ece84719466bb1553feb5
/usr/lib/.build-id/45
/usr/lib/.build-id/45/a893e82d50d3c82ca399824a3555d76691e922
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/8e421339c028fbcf9d560657a3132341c6190b
/usr/share/aclocal/yad.m4
/usr/share/applications/yad-icon-browser.desktop
/usr/share/doc/yad
/usr/share/doc/yad/AUTHORS
/usr/share/doc/yad/NEWS
/usr/share/doc/yad/README.md
/usr/share/doc/yad/THANKS
/usr/share/doc/yad/TODO
/usr/share/glib-2.0/schemas/yad.gschema.xml
/usr/share/icons/hicolor/128x128/apps/yad.png
/usr/share/icons/hicolor/16x16/apps/yad.png
/usr/share/icons/hicolor/24x24/apps/yad.png
/usr/share/icons/hicolor/32x32/apps/yad.png
/usr/share/icons/hicolor/48x48/apps/yad.png
/usr/share/icons/hicolor/96x96/apps/yad.png
/usr/share/licenses/yad
/usr/share/licenses/yad/COPYING
/usr/share/locale/de/LC_MESSAGES/yad.mo
/usr/share/locale/es/LC_MESSAGES/yad.mo
/usr/share/locale/fr/LC_MESSAGES/yad.mo
/usr/share/locale/it/LC_MESSAGES/yad.mo
/usr/share/locale/pt_BR/LC_MESSAGES/yad.mo
/usr/share/locale/ru/LC_MESSAGES/yad.mo
/usr/share/locale/sk/LC_MESSAGES/yad.mo
/usr/share/locale/uk/LC_MESSAGES/yad.mo
/usr/share/locale/zh_TW/LC_MESSAGES/yad.mo
/usr/share/man/man1/yad-tools.1.gz
/usr/share/man/man1/yad.1.gz
/usr/bin/yad
/usr/bin/yad-icon-browser
/usr/lib/.build-id
/usr/lib/.build-id/89
/usr/lib/.build-id/89/a33c62a51ccb4b567e24b68f7b8c88235d002c
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/ee905deb466a048a67278a46c8573cd1f853b5
/usr/share/aclocal/yad.m4
/usr/share/applications/yad-icon-browser.desktop
/usr/share/doc/yad
/usr/share/doc/yad/AUTHORS
/usr/share/doc/yad/NEWS
/usr/share/doc/yad/README.md
/usr/share/doc/yad/THANKS
/usr/share/doc/yad/TODO
/usr/share/glib-2.0/schemas/yad.gschema.xml
/usr/share/icons/hicolor/128x128/apps/yad.png
/usr/share/icons/hicolor/16x16/apps/yad.png
/usr/share/icons/hicolor/24x24/apps/yad.png
/usr/share/icons/hicolor/32x32/apps/yad.png
/usr/share/icons/hicolor/48x48/apps/yad.png
/usr/share/icons/hicolor/96x96/apps/yad.png
/usr/share/licenses/yad
/usr/share/licenses/yad/COPYING
/usr/share/locale/de/LC_MESSAGES/yad.mo
/usr/share/locale/es/LC_MESSAGES/yad.mo
/usr/share/locale/fr/LC_MESSAGES/yad.mo
/usr/share/locale/it/LC_MESSAGES/yad.mo
/usr/share/locale/pt_BR/LC_MESSAGES/yad.mo
/usr/share/locale/ru/LC_MESSAGES/yad.mo
/usr/share/locale/sk/LC_MESSAGES/yad.mo
/usr/share/locale/uk/LC_MESSAGES/yad.mo
/usr/share/locale/zh_TW/LC_MESSAGES/yad.mo
/usr/share/man/man1/yad.1.gz

References

Summary

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