How To Install acpi on Fedora 36

In this tutorial we learn how to install acpi in Fedora 36. acpi is Command-line ACPI client

Introduction

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

What is acpi

Linux ACPI client is a small command-line program that attempts to replicate the functionality of the ‘old’ apm command on ACPI systems. It includes battery and thermal information.

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

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

sudo dnf -y install acpi

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

sudo yum -y install acpi

How To Uninstall acpi on Fedora 36

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

sudo dnf remove acpi

acpi Package Contents on Fedora 36

/usr/bin/acpi
/usr/lib/.build-id
/usr/lib/.build-id/52
/usr/lib/.build-id/52/469696a466b297366e12d152105e9f2f220489
/usr/share/doc/acpi
/usr/share/doc/acpi/AUTHORS
/usr/share/doc/acpi/COPYING
/usr/share/doc/acpi/ChangeLog
/usr/share/doc/acpi/README
/usr/share/man/man1/acpi.1.gz

References

Summary

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