How To Install gshutdown on Fedora 34

gshutdown is GShutDown is an advanced shut down utility for GNOME

Introduction

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

What is gshutdown

GShutdown is an advanced shutdown utility which allows you to schedule the shutdown or the restart of your computer, or logout your actual session. Also can be use under Xfce and KDE.

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

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

sudo dnf -y install gshutdown

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

sudo yum -y install gshutdown

How To Uninstall gshutdown on Fedora 34

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

sudo dnf remove gshutdown

gshutdown Package Contents on Fedora 34

/usr/bin/gshutdown
/usr/lib/.build-id
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/6378df7c3bc686d766a7975842a87b512d7d43
/usr/share/applications/gshutdown.desktop
/usr/share/doc/gshutdown
/usr/share/doc/gshutdown/AUTHORS
/usr/share/doc/gshutdown/COPYING
/usr/share/doc/gshutdown/ChangeLog
/usr/share/doc/gshutdown/README
/usr/share/gshutdown
/usr/share/gshutdown/clock.png
/usr/share/gshutdown/gshutdown.glade
/usr/share/gshutdown/gshutdown.png
/usr/share/gshutdown/tray_icon.png
/usr/share/gshutdown/tray_icon2.png
/usr/share/locale/ca/LC_MESSAGES/gshutdown.mo
/usr/share/locale/da/LC_MESSAGES/gshutdown.mo
/usr/share/locale/de/LC_MESSAGES/gshutdown.mo
/usr/share/locale/es/LC_MESSAGES/gshutdown.mo
/usr/share/locale/fr/LC_MESSAGES/gshutdown.mo
/usr/share/locale/hu/LC_MESSAGES/gshutdown.mo
/usr/share/locale/it/LC_MESSAGES/gshutdown.mo
/usr/share/locale/no/LC_MESSAGES/gshutdown.mo
/usr/share/locale/pl/LC_MESSAGES/gshutdown.mo
/usr/share/locale/pt/LC_MESSAGES/gshutdown.mo
/usr/share/locale/ru/LC_MESSAGES/gshutdown.mo
/usr/share/locale/sr/LC_MESSAGES/gshutdown.mo
/usr/share/locale/sr@Latn/LC_MESSAGES/gshutdown.mo
/usr/share/locale/sv/LC_MESSAGES/gshutdown.mo
/usr/share/man/man1/gshutdown.1.gz
/usr/share/pixmaps/gshutdown.png

References

Summary

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