How To Install cronie on Fedora 36
Introduction
In this tutorial we learn how to install cronie
on Fedora 36.
What is cronie
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
or dnf
to install cronie
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cronie.
Install cronie on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install cronie
using dnf
by running the following command:
sudo dnf -y install cronie
Install cronie on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install cronie
using yum
by running the following command:
sudo yum -y install cronie
How To Uninstall cronie on Fedora 36
To uninstall only the cronie
package we can use the following command:
sudo dnf remove cronie
cronie Package Contents on Fedora 36
/etc/cron.d
/etc/cron.d/0hourly
/etc/cron.deny
/etc/pam.d/crond
/etc/sysconfig/crond
/lib/systemd/system/crond.service
/usr/bin/cronnext
/usr/bin/crontab
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/d88904655060b1d20e90ffca680a4bc527ce2b
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/e61513380fe5950f157bd8c88987b89de49449
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/01ed4a99ce350818cc36433dfbdbab864e2495
/usr/sbin/crond
/usr/share/doc/cronie
/usr/share/doc/cronie/AUTHORS
/usr/share/doc/cronie/ChangeLog
/usr/share/doc/cronie/README
/usr/share/licenses/cronie
/usr/share/licenses/cronie/COPYING
/usr/share/man/man1/cronnext.1.gz
/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
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).