How To Install bltk.x86_64 on Amazon Linux 2

In this tutorial we learn how to install bltk.x86_64 in Amazon Linux 2. bltk.x86_64 is The BLTK measures notebook battery life under any workload

Introduction

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

What is bltk.x86_64

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 to install bltk.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install bltk.x86_64.

Install bltk.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 bltk.x86_64 using yum by running the following command:

sudo yum -y install bltk.x86_64

How To Uninstall bltk.x86_64 on Amazon Linux 2

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

sudo yum remove bltk.x86_64

bltk.x86_64 Package Contents on Amazon Linux 2

/etc/bltk.conf
/usr/bin/bltk
/usr/bin/bltk_plot
/usr/bin/bltk_report
/usr/bin/bltk_report_compress
/usr/bin/bltk_report_table
/usr/bin/bltk_report_uncompress
/usr/lib64/bltk/bin/bat_drain
/usr/lib64/bltk/bin/bat_drain_table
/usr/lib64/bltk/bin/bltk
/usr/lib64/bltk/bin/bltk_calc
/usr/lib64/bltk/bin/bltk_check
/usr/lib64/bltk/bin/bltk_display_state
/usr/lib64/bltk/bin/bltk_func
/usr/lib64/bltk/bin/bltk_get_ac_adapter
/usr/lib64/bltk/bin/bltk_get_bat
/usr/lib64/bltk/bin/bltk_get_cpufreq
/usr/lib64/bltk/bin/bltk_get_cpuinfo
/usr/lib64/bltk/bin/bltk_get_cpustat
/usr/lib64/bltk/bin/bltk_get_cpustate
/usr/lib64/bltk/bin/bltk_get_dmidecode
/usr/lib64/bltk/bin/bltk_get_hd_rpm
/usr/lib64/bltk/bin/bltk_get_hdparm
/usr/lib64/bltk/bin/bltk_get_info
/usr/lib64/bltk/bin/bltk_get_kernel_release
/usr/lib64/bltk/bin/bltk_get_lspci
/usr/lib64/bltk/bin/bltk_get_meminfo
/usr/lib64/bltk/bin/bltk_get_realpath
/usr/lib64/bltk/bin/bltk_get_stat
/usr/lib64/bltk/bin/bltk_get_system_release
/usr/lib64/bltk/bin/bltk_get_timer
/usr/lib64/bltk/bin/bltk_get_user_field
/usr/lib64/bltk/bin/bltk_get_xdpyinfo
/usr/lib64/bltk/bin/bltk_install
/usr/lib64/bltk/bin/bltk_plot
/usr/lib64/bltk/bin/bltk_report
/usr/lib64/bltk/bin/bltk_report_check
/usr/lib64/bltk/bin/bltk_report_compress
/usr/lib64/bltk/bin/bltk_report_table
/usr/lib64/bltk/bin/bltk_report_uncompress
/usr/lib64/bltk/bin/bltk_save_sys_info
/usr/lib64/bltk/bin/bltk_spy
/usr/lib64/bltk/bin/bltk_time
/usr/lib64/bltk/bin/bltk_type_command
/usr/lib64/bltk/bin/bltk_winid
/usr/lib64/bltk/bin/bltk_wl_common
/usr/lib64/bltk/lib/libxse.so.0
/usr/lib64/bltk/wl_developer/bin/bltk_wl_developer
/usr/lib64/bltk/wl_developer/bin/bltk_wl_developer_spy
/usr/lib64/bltk/wl_developer/bin/bltk_wl_developer_xse
/usr/lib64/bltk/wl_game/bin/bltk_wl_game
/usr/lib64/bltk/wl_game/bin/bltk_wl_game_xse
/usr/lib64/bltk/wl_office/OOCALC_FILE_SAMPLE.ods
/usr/lib64/bltk/wl_office/OODRAW_FILE_SAMPLE.odg
/usr/lib64/bltk/wl_office/OOWRITER_FILE_SAMPLE.odt
/usr/lib64/bltk/wl_office/bin/bltk_wl_office
/usr/lib64/bltk/wl_office/bin/bltk_wl_office_run_app
/usr/lib64/bltk/wl_office/bin/bltk_wl_office_xse
/usr/lib64/bltk/wl_office/response_install
/usr/lib64/bltk/wl_office/scen
/usr/lib64/bltk/wl_office/scen_install
/usr/lib64/bltk/wl_office/text1
/usr/lib64/bltk/wl_office/text2
/usr/lib64/bltk/wl_office/text3
/usr/lib64/bltk/wl_player/bin/bltk_wl_player
/usr/lib64/bltk/wl_player/bin/bltk_wl_player_make_binary
/usr/lib64/bltk/wl_reader/bin/bltk_wl_reader
/usr/lib64/bltk/wl_reader/bin/bltk_wl_reader_xse
/usr/lib64/bltk/wl_reader/war_and_peace.html
/usr/share/doc/bltk-1.1.0
/usr/share/doc/bltk-1.1.0/HOWTO
/usr/share/doc/bltk-1.1.0/Manual
/usr/share/doc/bltk-1.1.0/README
/usr/share/man/man1/bltk.1.gz
/usr/share/man/man1/bltk_report.1.gz
/usr/share/man/man5/bltk.conf.5.gz

References

Summary

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