How To Install bltk on CentOS 7

In this tutorial we learn how to install bltk on CentOS 7. bltk is The BLTK measures notebook battery life under any workload

Introduction

In this tutorial we learn how to install bltk on CentOS 7.

What is bltk

This tool kit is used to measure battery life and performance under different workloads on Linux. Test can be used with various workloads to simulate different types of laptop usage. The following workloads are currently implemented a) Idle workload - collect statistics only b) Developer workload - simulates code development in Linux environment c) Reader workload - simulates text reading on laptop d) DVD playback workload - simulates laptop entertaining usage e) 3d game workload - simulates 3D-gaming on laptop f) Office Activity workload - simulates laptop usage for different office activities (based on OpenOffice.org office suit) This tool kit is used to measure battery life and performance under different workloads on Linux. Test can be used with various workloads to simulate different types of laptop usage. The following workloads are currently implemented a) Idle workload - collect statistics only b) Developer workload - simulates code development in Linux environment c) Reader workload - simulates text reading on laptop d) DVD playback workload - simulates laptop entertaining usage e) 3d game workload - simulates 3D-gaming on laptop f) Office Activity workload - simulates laptop usage for different office activities (based on OpenOffice.org office suit)

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

Install bltk on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install bltk

Install bltk on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install bltk

How To Uninstall bltk on CentOS 7

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

sudo dnf remove bltk

References

Summary

In this tutorial we learn how to install bltk on CentOS 7 using yum and dnf.