How To Install wmacpi on Fedora 34

wmacpi is Dockapp for laptop acpi/apm information

Introduction

In this tutorial we learn how to install wmacpi on Fedora 34.

What is wmacpi

Dockapp which displays acpi/apm information. his is a typical laptop ACPI dockapp. One interesting feature is the “timer” mode, where you can keep track of how long the laptop has been “on battery”. This is opposite of the information usually provided by the BIOS, which is “time remaining”, and in many cases wrong. This option can be toggled at run-time. System messages scroll on the bottom of the window, AC plug flashes when battery is charging, and green LED inside the big button flashes red if battery level is critical low.

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

Install wmacpi on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install wmacpi using dnf by running the following command:

sudo dnf -y install wmacpi

Install wmacpi on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install wmacpi using yum by running the following command:

sudo yum -y install wmacpi

How To Uninstall wmacpi on Fedora 34

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

sudo dnf remove wmacpi

wmacpi Package Contents on Fedora 34

/usr/bin/wmacpi
/usr/bin/wmacpi-cli
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/048b35dfe2b0c5f51fff4e40e0d1825187ee3e
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/21ce8c3ff70302232596c5fc3dd0e05713c2b4
/usr/share/doc/wmacpi
/usr/share/doc/wmacpi/AUTHORS
/usr/share/doc/wmacpi/COPYING
/usr/share/doc/wmacpi/ChangeLog
/usr/share/doc/wmacpi/README
/usr/share/man/man1/wmacpi-cli.1.gz
/usr/share/man/man1/wmacpi.1.gz

References

Summary

In this tutorial we learn how to install wmacpi on Fedora 34 using yum and dnf.