How To Install acpid.x86_64 on Amazon Linux 2

In this tutorial we learn how to install acpid.x86_64 in Amazon Linux 2. acpid.x86_64 is ACPI Event Daemon

Introduction

In this tutorial we learn how to install acpid.x86_64 on Amazon Linux 2.

What is acpid.x86_64

acpid is a daemon that dispatches ACPI events to user-space programs.

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

Install acpid.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 acpid.x86_64 using yum by running the following command:

sudo yum -y install acpid.x86_64

How To Uninstall acpid.x86_64 on Amazon Linux 2

To uninstall only the acpid.x86_64 package we can use the following command:

sudo yum remove acpid.x86_64

acpid.x86_64 Package Contents on Amazon Linux 2

/etc/acpi
/etc/acpi/actions
/etc/acpi/actions/power.sh
/etc/acpi/events
/etc/acpi/events/powerconf
/etc/acpi/events/videoconf
/etc/sysconfig/acpid
/usr/bin/acpi_listen
/usr/lib/systemd/logind.conf.d/acpid.conf
/usr/lib/systemd/system/acpid.service
/usr/sbin/acpid
/usr/sbin/kacpimon
/usr/share/doc/acpid-2.0.19
/usr/share/doc/acpid-2.0.19/COPYING
/usr/share/doc/acpid-2.0.19/Changelog
/usr/share/doc/acpid-2.0.19/README
/usr/share/doc/acpid-2.0.19/TESTPLAN
/usr/share/doc/acpid-2.0.19/TODO
/usr/share/man/man8/acpi_listen.8.gz
/usr/share/man/man8/acpid.8.gz
/usr/share/man/man8/kacpimon.8.gz

References

Summary

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