How To Install qotd on Fedora 34

qotd is A simple and lightweight Quote of the Day daemon

Introduction

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

What is qotd

QOTD (quote of the day) is specified in RFC 865 as a way of broadcasting a quote to users. On both TCP and UDP, port 17 is officially reserved for this purpose. This program is meant to provide a simple QOTD daemon on IPv4 and IPv6 over TCP/IP.

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

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

sudo dnf -y install qotd

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

sudo yum -y install qotd

How To Uninstall qotd on Fedora 34

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

sudo dnf remove qotd

qotd Package Contents on Fedora 34

/etc/qotd.conf
/usr/bin/qotdd
/usr/lib/.build-id
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/607e10b17742519057eae350adef5db0f2aa72
/usr/lib/systemd/system/qotd.service
/usr/share/doc/qotd
/usr/share/doc/qotd/README.md
/usr/share/doc/qotd/qotd.pdf
/usr/share/licenses/qotd
/usr/share/licenses/qotd/LICENSE
/usr/share/man/man5/qotd.conf.5.gz
/usr/share/man/man8/qotdd.8.gz
/usr/share/qotd
/usr/share/qotd/quotes.txt

References

Summary

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