How To Install uptimed on CentOS 7

In this tutorial we learn how to install uptimed on CentOS 7. uptimed is A daemon to record and keep track of system up times

Introduction

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

What is uptimed

Uptimed is an up time record daemon keeping track of the highest up times the system ever had. Uptimed has the ability to inform you of records and milestones though syslog and e-mail, and comes with a console front end to parse the records, which can also easily be used to show your records on your Web page

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

Install uptimed on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install uptimed

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

sudo dnf -y install uptimed

How To Uninstall uptimed on CentOS 7

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

sudo dnf remove uptimed

References

Summary

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