How To Install acpid on Rocky Linux 8

In this tutorial we learn how to install acpid on Rocky Linux 8. acpid is ACPI Event Daemon

Introduction

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

What is acpid

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

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

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

sudo dnf -y install acpid

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

sudo yum -y install acpid

How To Uninstall acpid on Rocky Linux 8

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

sudo dnf remove acpid

acpid Package Contents on Rocky Linux 8

/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/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/d3c5aa57088b3bf26a7f332a04db4f9f30fc13
/usr/lib/.build-id/84
/usr/lib/.build-id/84/ea523615f4802be417650e9a08aa0d966c884e
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/9c6d12d71cff00d1dd92b0584bb13aeff1e504
/usr/lib/systemd/system/acpid.service
/usr/lib/systemd/system/acpid.socket
/usr/sbin/acpid
/usr/sbin/kacpimon
/usr/share/doc/acpid
/usr/share/doc/acpid/COPYING
/usr/share/doc/acpid/Changelog
/usr/share/doc/acpid/README
/usr/share/doc/acpid/TESTPLAN
/usr/share/doc/acpid/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 on Rocky Linux 8 using yum and dnf.