How To Install at.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install at.x86_64 on Amazon Linux 2.
What is at.x86_64
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 will need to be repeated at the same time every day/week, etc. you should use crontab instead.
We can use yum to install at.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install at.x86_64.
Install at.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 at.x86_64 using yum by running the following command:
sudo yum -y install at.x86_64
How To Uninstall at.x86_64 on Amazon Linux 2
To uninstall only the at.x86_64 package we can use the following command:
sudo yum remove at.x86_64
at.x86_64 Package Contents on Amazon Linux 2
/etc/at.deny
/etc/pam.d/atd
/etc/sysconfig/atd
/usr/bin/at
/usr/bin/atq
/usr/bin/atrm
/usr/bin/batch
/usr/lib/systemd/system/atd.service
/usr/sbin/atd
/usr/sbin/atrun
/usr/share/doc/at-3.1.13
/usr/share/doc/at-3.1.13/ChangeLog
/usr/share/doc/at-3.1.13/Copyright
/usr/share/doc/at-3.1.13/Problems
/usr/share/doc/at-3.1.13/README
/usr/share/doc/at-3.1.13/timespec
/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.x86_64 on Amazon Linux 2 using yum.