How To Install gcal on Fedora 34

gcal is GNU Gregorian calendar program

Introduction

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

What is gcal

Gcal is a program for calculating and printing calendars. Gcal displays hybrid and proleptic Julian and Gregorian calendar sheets. It also displays holiday lists for many countries around the globe.

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

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

sudo dnf -y install gcal

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

sudo yum -y install gcal

How To Uninstall gcal on Fedora 34

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

sudo dnf remove gcal

gcal Package Contents on Fedora 34

/usr/bin/gcal
/usr/bin/gcal2txt
/usr/bin/tcal
/usr/bin/txt2gcal
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/85192fb59779690bb311f73d6639766e513dbf
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/91fcdb1cfc7058786983b0b105530b12490d5e
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/6a994da395485ce15a6aeeae0856dc82accdba
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/f462b3640380afc7a1789b51dc9cf273f0cc17
/usr/share/doc/gcal
/usr/share/doc/gcal/AUTHORS
/usr/share/doc/gcal/BUGS
/usr/share/doc/gcal/COPYING
/usr/share/doc/gcal/LIMITATIONS
/usr/share/doc/gcal/NEWS
/usr/share/doc/gcal/README
/usr/share/doc/gcal/THANKS
/usr/share/doc/gcal/TODO
/usr/share/gcal
/usr/share/gcal/CREDITS
/usr/share/gcal/README
/usr/share/gcal/ancient
/usr/share/gcal/ansipic.rc
/usr/share/gcal/birthday.rc
/usr/share/gcal/bkk.rc
/usr/share/gcal/cal2gcal.awk
/usr/share/gcal/cal2gcal.pl
/usr/share/gcal/calendar.birth
/usr/share/gcal/calendar.chris
/usr/share/gcal/calendar.compu
/usr/share/gcal/calendar.histo
/usr/share/gcal/calendar.holid
/usr/share/gcal/calendar.judai
/usr/share/gcal/calendar.music
/usr/share/gcal/calendar.ushol
/usr/share/gcal/can_holiday
/usr/share/gcal/celtic
/usr/share/gcal/computing
/usr/share/gcal/ct2gcal.awk
/usr/share/gcal/ct2gcal.pl
/usr/share/gcal/de-mdata.rc
/usr/share/gcal/de-sdata.rc
/usr/share/gcal/events
/usr/share/gcal/events1
/usr/share/gcal/events2
/usr/share/gcal/events3
/usr/share/gcal/events4
/usr/share/gcal/events5
/usr/share/gcal/events6
/usr/share/gcal/gcalrc
/usr/share/gcal/gdead
/usr/share/gcal/hawaii
/usr/share/gcal/literature
/usr/share/gcal/lives
/usr/share/gcal/lives1
/usr/share/gcal/lives2
/usr/share/gcal/lives3
/usr/share/gcal/lives4
/usr/share/gcal/lives5
/usr/share/gcal/lives6
/usr/share/gcal/lotr
/usr/share/gcal/mdata.rc
/usr/share/gcal/meteoric.rc
/usr/share/gcal/movies
/usr/share/gcal/ms.rc
/usr/share/gcal/music
/usr/share/gcal/old2v220.awk
/usr/share/gcal/old2v220.pl
/usr/share/gcal/radio
/usr/share/gcal/sdata.rc
/usr/share/gcal/sfo
/usr/share/gcal/space
/usr/share/gcal/sports
/usr/share/gcal/sun-moon.rc
/usr/share/gcal/television
/usr/share/gcal/textpic.rc
/usr/share/gcal/usa_holiday
/usr/share/gcal/usa_other
/usr/share/gcal/usa_states
/usr/share/gcal/v2x2v300.awk
/usr/share/gcal/v2x2v300.pl
/usr/share/gcal/witchcraft
/usr/share/gcal/wloc.rc
/usr/share/gcal/world
/usr/share/gcal/wtt1.rc
/usr/share/gcal/wtt2.rc
/usr/share/gcal/wtt3.rc
/usr/share/info/gcal.info.gz
/usr/share/locale/ca/LC_MESSAGES/gcal.mo
/usr/share/locale/da/LC_MESSAGES/gcal.mo
/usr/share/locale/de/LC_MESSAGES/gcal.mo
/usr/share/locale/es/LC_MESSAGES/gcal.mo
/usr/share/locale/fr/LC_MESSAGES/gcal.mo
/usr/share/locale/it/LC_MESSAGES/gcal.mo
/usr/share/locale/lt/LC_MESSAGES/gcal.mo
/usr/share/locale/nl/LC_MESSAGES/gcal.mo
/usr/share/locale/pl/LC_MESSAGES/gcal.mo
/usr/share/locale/ru/LC_MESSAGES/gcal.mo
/usr/share/locale/rw/LC_MESSAGES/gcal.mo
/usr/share/locale/sv/LC_MESSAGES/gcal.mo
/usr/share/locale/tr/LC_MESSAGES/gcal.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gcal.mo
/usr/share/man/man1/gcal.1.gz
/usr/share/man/man1/gcal2txt.1.gz
/usr/share/man/man1/tcal.1.gz
/usr/share/man/man1/txt2gcal.1.gz

References

Summary

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