How To Install at on Rocky Linux 8

In this tutorial we learn how to install at on Rocky Linux 8. at is Job spooling tools

Introduction

In this tutorial we learn how to install at on Rocky Linux 8.

What is at

At and batch read commands from standard input or from a specified file. At allows you to specify that a command will be run at a particular time. Batch will execute commands when the system load levels drop to a particular level. Both commands use user’s shell. You should install the at package if you need a utility for time-oriented job control. Note need to be repeated at the same time every day/week, etc. you should use crontab instead.

We can use yum or dnf to install at on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install at.

Install at on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install at

Install at on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install at

How To Uninstall at on Rocky Linux 8

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

sudo dnf remove at

at Package Contents on Rocky Linux 8

/etc/at.deny
/etc/pam.d/atd
/etc/sysconfig/atd
/usr/bin/at
/usr/bin/atq
/usr/bin/atrm
/usr/bin/batch
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/0647ed6e6ce8fe84e8aac1d6897b5c786af578
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/c5d5906a6757aec0f1f97ead0c4638d927f33b
/usr/lib/systemd/system/atd.service
/usr/sbin/atd
/usr/sbin/atrun
/usr/share/doc/at
/usr/share/doc/at/ChangeLog
/usr/share/doc/at/README
/usr/share/doc/at/timespec
/usr/share/licenses/at
/usr/share/licenses/at/COPYING
/usr/share/licenses/at/Copyright
/usr/share/man/man1/at.1.gz
/usr/share/man/man1/atq.1.gz
/usr/share/man/man1/atrm.1.gz
/usr/share/man/man1/batch.1.gz
/usr/share/man/man5/at.allow.5.gz
/usr/share/man/man5/at.deny.5.gz
/usr/share/man/man8/atd.8.gz
/usr/share/man/man8/atrun.8.gz
/var/spool/at
/var/spool/at/.SEQ
/var/spool/at/spool

References

Summary

In this tutorial we learn how to install at on Rocky Linux 8 using yum and dnf.