How To Install powertop.x86_64 on Amazon Linux 2

In this tutorial we learn how to install powertop.x86_64 in Amazon Linux 2. powertop.x86_64 is Power consumption monitor

Introduction

In this tutorial we learn how to install powertop.x86_64 on Amazon Linux 2.

What is powertop.x86_64

PowerTOP is a tool that finds the software component(s) that make your computer use more power than necessary while it is idle.

We can use yum to install powertop.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install powertop.x86_64.

Install powertop.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install powertop.x86_64 using yum by running the following command:

sudo yum -y install powertop.x86_64

How To Uninstall powertop.x86_64 on Amazon Linux 2

To uninstall only the powertop.x86_64 package we can use the following command:

sudo yum remove powertop.x86_64

powertop.x86_64 Package Contents on Amazon Linux 2

/usr/lib/systemd/system/powertop.service
/usr/sbin/powertop
/usr/share/doc/powertop-2.3
/usr/share/doc/powertop-2.3/COPYING
/usr/share/doc/powertop-2.3/README
/usr/share/doc/powertop-2.3/TODO
/usr/share/locale/ca/LC_MESSAGES/powertop.mo
/usr/share/locale/cs_CZ/LC_MESSAGES/powertop.mo
/usr/share/locale/de_DE/LC_MESSAGES/powertop.mo
/usr/share/locale/en_GB/LC_MESSAGES/powertop.mo
/usr/share/locale/en_US/LC_MESSAGES/powertop.mo
/usr/share/locale/es_ES/LC_MESSAGES/powertop.mo
/usr/share/locale/hu_HU/LC_MESSAGES/powertop.mo
/usr/share/locale/id_ID/LC_MESSAGES/powertop.mo
/usr/share/locale/nl_NL/LC_MESSAGES/powertop.mo
/usr/share/locale/zh_TW/LC_MESSAGES/powertop.mo
/usr/share/man/man8/powertop.8.gz
/var/cache/powertop
/var/cache/powertop/saved_parameters.powertop
/var/cache/powertop/saved_results.powertop

References

Summary

In this tutorial we learn how to install powertop.x86_64 on Amazon Linux 2 using yum.