How To Install upower on Rocky Linux 8
Introduction
In this tutorial we learn how to install upower on Rocky Linux 8.
What is upower
UPower (formerly DeviceKit-power) provides a daemon, API and command line tools for managing power devices attached to the system.
We can use yum or dnf to install upower on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install upower.
Install upower 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 upower using dnf by running the following command:
sudo dnf -y install upower
Install upower 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 upower using yum by running the following command:
sudo yum -y install upower
How To Uninstall upower on Rocky Linux 8
To uninstall only the upower package we can use the following command:
sudo dnf remove upower
upower Package Contents on Rocky Linux 8
/etc/UPower
/etc/UPower/UPower.conf
/etc/dbus-1/system.d/org.freedesktop.UPower.conf
/usr/bin/upower
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/2603b8675938185876a8ad11c47a5e3b165098
/usr/lib/.build-id/78
/usr/lib/.build-id/78/55fb39ba1129a02f94e61c15f1c8a7f8ad0e8f
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/a0d20fa4ea473822204e8080ea028eabc010ae
/usr/lib/girepository-1.0/UPowerGlib-1.0.typelib
/usr/lib/libupower-glib.so.3
/usr/lib/libupower-glib.so.3.0.1
/usr/lib/systemd/system/upower.service
/usr/lib/udev/rules.d/95-upower-csr.rules
/usr/lib/udev/rules.d/95-upower-hid.rules
/usr/lib/udev/rules.d/95-upower-wup.rules
/usr/libexec/upowerd
/usr/share/dbus-1/system-services/org.freedesktop.UPower.service
/usr/share/doc/upower
/usr/share/doc/upower/AUTHORS
/usr/share/doc/upower/HACKING
/usr/share/doc/upower/NEWS
/usr/share/doc/upower/README
/usr/share/licenses/upower
/usr/share/licenses/upower/COPYING
/usr/share/locale/fr/LC_MESSAGES/upower.mo
/usr/share/locale/it/LC_MESSAGES/upower.mo
/usr/share/locale/pl/LC_MESSAGES/upower.mo
/usr/share/locale/sv/LC_MESSAGES/upower.mo
/usr/share/man/man1/upower.1.gz
/usr/share/man/man7/UPower.7.gz
/usr/share/man/man8/upowerd.8.gz
/var/lib/upower
/etc/UPower
/etc/UPower/UPower.conf
/etc/dbus-1/system.d/org.freedesktop.UPower.conf
/usr/bin/upower
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/0ab41e985c8d3d3ba1a1466323c60721b36eb4
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/1fde3f7faaae71523c5206ce4f96124133b462
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/819d4dfd5d688ec51e09d836355615d590928f
/usr/lib/systemd/system/upower.service
/usr/lib/udev/rules.d/95-upower-csr.rules
/usr/lib/udev/rules.d/95-upower-hid.rules
/usr/lib/udev/rules.d/95-upower-wup.rules
/usr/lib64/girepository-1.0/UPowerGlib-1.0.typelib
/usr/lib64/libupower-glib.so.3
/usr/lib64/libupower-glib.so.3.0.1
/usr/libexec/upowerd
/usr/share/dbus-1/system-services/org.freedesktop.UPower.service
/usr/share/doc/upower
/usr/share/doc/upower/AUTHORS
/usr/share/doc/upower/HACKING
/usr/share/doc/upower/NEWS
/usr/share/doc/upower/README
/usr/share/licenses/upower
/usr/share/licenses/upower/COPYING
/usr/share/locale/fr/LC_MESSAGES/upower.mo
/usr/share/locale/it/LC_MESSAGES/upower.mo
/usr/share/locale/pl/LC_MESSAGES/upower.mo
/usr/share/locale/sv/LC_MESSAGES/upower.mo
/usr/share/man/man1/upower.1.gz
/usr/share/man/man7/UPower.7.gz
/usr/share/man/man8/upowerd.8.gz
/var/lib/upower
References
Summary
In this tutorial we learn how to install upower on Rocky Linux 8 using yum and dnf.