How To Install cronie.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install cronie.x86_64
on Amazon Linux 2.
What is cronie.x86_64
Cronie contains the standard UNIX daemon crond that runs specified programs at scheduled times and related tools. It is a fork of the original vixie-cron and has security and configuration enhancements like the ability to use pam and SELinux.
We can use yum
to install cronie.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cronie.x86_64.
Install cronie.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 cronie.x86_64
using yum
by running the following command:
sudo yum -y install cronie.x86_64
How To Uninstall cronie.x86_64 on Amazon Linux 2
To uninstall only the cronie.x86_64
package we can use the following command:
sudo yum remove cronie.x86_64
cronie.x86_64 Package Contents on Amazon Linux 2
/etc/cron.d
/etc/cron.d/0hourly
/etc/cron.deny
/etc/pam.d/crond
/etc/sysconfig/crond
/usr/bin/crontab
/usr/lib/systemd/system/crond.service
/usr/sbin/crond
/usr/share/doc/cronie-1.4.11
/usr/share/doc/cronie-1.4.11/AUTHORS
/usr/share/doc/cronie-1.4.11/COPYING
/usr/share/doc/cronie-1.4.11/ChangeLog
/usr/share/doc/cronie-1.4.11/INSTALL
/usr/share/doc/cronie-1.4.11/README
/usr/share/man/man1/crontab.1.gz
/usr/share/man/man5/crontab.5.gz
/usr/share/man/man8/cron.8.gz
/usr/share/man/man8/crond.8.gz
/var/spool/cron
References
Summary
In this tutorial we learn how to install cronie.x86_64
on Amazon Linux 2 using yum.