How To Install apmd on Fedora 36

In this tutorial we learn how to install apmd in Fedora 36. apmd is Advanced Power Management (APM) BIOS utilities for laptops

Introduction

In this tutorial we learn how to install apmd on Fedora 36.

What is apmd

APMD is a set of programs for controlling the Advanced Power Management daemon and utilities found in most modern laptop computers. APMD can watch your notebook’s battery and warn users when the battery is low. APMD is also capable of shutting down the PCMCIA sockets before a suspend. Install the apmd package if you need to control the APM system on your laptop.

We can use yum or dnf to install apmd on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install apmd.

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

sudo dnf -y install apmd

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

sudo yum -y install apmd

How To Uninstall apmd on Fedora 36

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

sudo dnf remove apmd

apmd Package Contents on Fedora 36

/etc/modules-load.d/apmd.conf
/etc/sysconfig/apm-scripts
/etc/sysconfig/apm-scripts/apmscript
/etc/sysconfig/apm-scripts/laptopmode
/etc/sysconfig/apmd
/usr/bin/apm
/usr/bin/apmsleep
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/e590a460e866d637d6a1e1f47912d2b65e61d8
/usr/lib/.build-id/74
/usr/lib/.build-id/74/a62dd8e54d29f42f750c2cb9f9926eb873defd
/usr/lib/.build-id/88
/usr/lib/.build-id/88/0647965fd45c39afa2d834222695b57ce40849
/usr/lib/systemd/system/apmd.service
/usr/sbin/apmd
/usr/share/doc/apmd
/usr/share/doc/apmd/AUTHORS
/usr/share/doc/apmd/ChangeLog
/usr/share/doc/apmd/LSM
/usr/share/doc/apmd/README
/usr/share/licenses/apmd
/usr/share/licenses/apmd/COPYING
/usr/share/licenses/apmd/apmlib.COPYING
/usr/share/man/fr/man1/apmsleep.fr.1.gz
/usr/share/man/man1/apm.1.gz
/usr/share/man/man1/apmsleep.1.gz
/usr/share/man/man8/apmd.8.gz

References

Summary

In this tutorial we learn how to install apmd on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).