How To Install qotd on CentOS 7
Introduction
In this tutorial we learn how to install qotd on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install qotd.
Install qotd on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install qotd using yum by running the following command:
sudo yum -y install qotd
Install qotd on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install qotd using dnf by running the following command:
sudo dnf -y install qotd
How To Uninstall qotd on CentOS 7
To uninstall only the qotd package we can use the following command:
sudo dnf remove qotd
References
Summary
In this tutorial we learn how to install qotd on CentOS 7 using yum and dnf.