How To Install quota-warnquota.x86_64 on Amazon Linux 2

In this tutorial we learn how to install quota-warnquota.x86_64 in Amazon Linux 2. quota-warnquota.x86_64 is Send e-mail to users over quota

Introduction

In this tutorial we learn how to install quota-warnquota.x86_64 on Amazon Linux 2.

What is quota-warnquota.x86_64

Utility that checks disk quota for each local file system and mails a warning message to those users who have reached their soft limit. It is typically run via cron(8).

We can use yum to install quota-warnquota.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install quota-warnquota.x86_64.

Install quota-warnquota.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install quota-warnquota.x86_64 using yum by running the following command:

sudo yum -y install quota-warnquota.x86_64

How To Uninstall quota-warnquota.x86_64 on Amazon Linux 2

To uninstall only the quota-warnquota.x86_64 package we can use the following command:

sudo yum remove quota-warnquota.x86_64

quota-warnquota.x86_64 Package Contents on Amazon Linux 2

/etc/quotagrpadmins
/etc/quotatab
/etc/warnquota.conf
/usr/sbin/warnquota
/usr/share/doc/quota-warnquota-4.01
/usr/share/doc/quota-warnquota-4.01/Changelog
/usr/share/doc/quota-warnquota-4.01/README.ldap-support
/usr/share/doc/quota-warnquota-4.01/README.mailserver
/usr/share/man/man5/quotagrpadmins.5.gz
/usr/share/man/man5/quotatab.5.gz
/usr/share/man/man5/warnquota.conf.5.gz
/usr/share/man/man8/warnquota.8.gz

References

Summary

In this tutorial we learn how to install quota-warnquota.x86_64 on Amazon Linux 2 using yum.