How To Install calendar on CentOS 7

In this tutorial we learn how to install calendar on CentOS 7. calendar is Reminder utility

Introduction

In this tutorial we learn how to install calendar on CentOS 7.

What is calendar

The OpenBSD calendar command is a reminder utility. Calendar reads a mix of configuration files and standard calendar databases and then displays lines that begin with either today’s date or tomorrow’s. The output of the command shows upcoming events for the week.

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

Install calendar on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install calendar using yum by running the following command:

sudo yum -y install calendar

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

sudo dnf -y install calendar

How To Uninstall calendar on CentOS 7

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

sudo dnf remove calendar

References

Summary

In this tutorial we learn how to install calendar on CentOS 7 using yum and dnf.