How To Install xfce4-battery-plugin on Rocky Linux 8

In this tutorial we learn how to install xfce4-battery-plugin on Rocky Linux 8. xfce4-battery-plugin is Battery monitor for the Xfce panel

Introduction

In this tutorial we learn how to install xfce4-battery-plugin on Rocky Linux 8.

What is xfce4-battery-plugin

A battery monitor plugin for the Xfce panel, compatible with APM and ACPI.

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

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

sudo dnf -y install xfce4-battery-plugin

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

sudo yum -y install xfce4-battery-plugin

How To Uninstall xfce4-battery-plugin on Rocky Linux 8

To uninstall only the xfce4-battery-plugin package we can use the following command:

sudo dnf remove xfce4-battery-plugin

xfce4-battery-plugin Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/f62482c5790d8522a353da11d1f4273562008e
/usr/lib64/xfce4/panel/plugins/libbattery.so
/usr/share/doc/xfce4-battery-plugin
/usr/share/doc/xfce4-battery-plugin/AUTHORS
/usr/share/doc/xfce4-battery-plugin/COPYING.LIB
/usr/share/doc/xfce4-battery-plugin/ChangeLog
/usr/share/doc/xfce4-battery-plugin/README
/usr/share/icons/hicolor/16x16/apps/xfce4-battery-critical-charging.png
/usr/share/icons/hicolor/16x16/apps/xfce4-battery-critical.png
/usr/share/icons/hicolor/16x16/apps/xfce4-battery-full-charging.png
/usr/share/icons/hicolor/16x16/apps/xfce4-battery-full.png
/usr/share/icons/hicolor/16x16/apps/xfce4-battery-low-charging.png
/usr/share/icons/hicolor/16x16/apps/xfce4-battery-low.png
/usr/share/icons/hicolor/16x16/apps/xfce4-battery-missing.png
/usr/share/icons/hicolor/16x16/apps/xfce4-battery-ok-charging.png
/usr/share/icons/hicolor/16x16/apps/xfce4-battery-ok.png
/usr/share/icons/hicolor/16x16/apps/xfce4-battery-plugin.png
/usr/share/icons/hicolor/22x22/apps/xfce4-battery-critical-charging.png
/usr/share/icons/hicolor/22x22/apps/xfce4-battery-critical.png
/usr/share/icons/hicolor/22x22/apps/xfce4-battery-full-charging.png
/usr/share/icons/hicolor/22x22/apps/xfce4-battery-full.png
/usr/share/icons/hicolor/22x22/apps/xfce4-battery-low-charging.png
/usr/share/icons/hicolor/22x22/apps/xfce4-battery-low.png
/usr/share/icons/hicolor/22x22/apps/xfce4-battery-missing.png
/usr/share/icons/hicolor/22x22/apps/xfce4-battery-ok-charging.png
/usr/share/icons/hicolor/22x22/apps/xfce4-battery-ok.png
/usr/share/icons/hicolor/22x22/apps/xfce4-battery-plugin.png
/usr/share/icons/hicolor/24x24/apps/xfce4-battery-critical-charging.png
/usr/share/icons/hicolor/24x24/apps/xfce4-battery-critical.png
/usr/share/icons/hicolor/24x24/apps/xfce4-battery-full-charging.png
/usr/share/icons/hicolor/24x24/apps/xfce4-battery-full.png
/usr/share/icons/hicolor/24x24/apps/xfce4-battery-low-charging.png
/usr/share/icons/hicolor/24x24/apps/xfce4-battery-low.png
/usr/share/icons/hicolor/24x24/apps/xfce4-battery-missing.png
/usr/share/icons/hicolor/24x24/apps/xfce4-battery-ok-charging.png
/usr/share/icons/hicolor/24x24/apps/xfce4-battery-ok.png
/usr/share/icons/hicolor/24x24/apps/xfce4-battery-plugin.png
/usr/share/icons/hicolor/32x32/apps/xfce4-battery-plugin.png
/usr/share/icons/hicolor/scalable/apps/xfce4-battery-critical-charging.svg
/usr/share/icons/hicolor/scalable/apps/xfce4-battery-critical.svg
/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charging.svg
/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full.svg
/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-charging.svg
/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low.svg
/usr/share/icons/hicolor/scalable/apps/xfce4-battery-missing.svg
/usr/share/icons/hicolor/scalable/apps/xfce4-battery-ok-charging.svg
/usr/share/icons/hicolor/scalable/apps/xfce4-battery-ok.svg
/usr/share/icons/hicolor/scalable/apps/xfce4-battery-plugin.svg
/usr/share/licenses/xfce4-battery-plugin
/usr/share/licenses/xfce4-battery-plugin/COPYING
/usr/share/locale/ar/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/ast/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/be/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/bg/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/ca/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/cs/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/da/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/de/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/el/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/en_AU/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/en_GB/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/es/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/eu/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/fi/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/fr/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/gl/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/he/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/hr/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/hu/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/hy_AM/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/id/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/is/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/it/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/ja/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/kk/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/ko/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/lt/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/lv/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/ms/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/nb/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/nl/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/nn/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/oc/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/pa/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/pl/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/pt/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/pt_BR/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/ru/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/sk/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/sl/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/sq/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/sr/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/sv/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/th/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/tr/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/ug/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/uk/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/ur/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/ur_PK/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/uz/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/uz@Latn/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/vi/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/zh_CN/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/locale/zh_TW/LC_MESSAGES/xfce4-battery-plugin.mo
/usr/share/xfce4/panel/plugins/battery.desktop

References

Summary

In this tutorial we learn how to install xfce4-battery-plugin on Rocky Linux 8 using yum and dnf.