How To Install bltk on Fedora 36

In this tutorial we learn how to install bltk in Fedora 36. bltk is The BLTK measures notebook battery life under any workload

Introduction

In this tutorial we learn how to install bltk on Fedora 36.

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)

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

Install bltk on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install bltk

Install bltk on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install bltk

How To Uninstall bltk on Fedora 36

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

sudo dnf remove bltk

bltk Package Contents on Fedora 36

/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/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/777d67e9caa5a9ba75791ee64c9261ed556006
/usr/lib/.build-id/22
/usr/lib/.build-id/22/ef9273b205db4b546a07519b7cdcfec46afcd1
/usr/lib/.build-id/48
/usr/lib/.build-id/48/08670754923d2d4bbcf4b2a8e2eeea5066c7dd
/usr/lib/.build-id/51
/usr/lib/.build-id/51/4a4d11e16e7816169855d392a09a69a9aa7bf8
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/bf77801a4f0989a6394999c0deb53bc92bffcc
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/3382dce6391de8398097a40c64bd101e00e127
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/f6f020317c1fd4e01fa19be6b6c16a1dc833e5
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/3e15d2bd0509b2d6fac356d9f963b47d912ce3
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/cb3f1def22c3b648d2c37062abd3776329d015
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/5e87a78152060dddfc6d20dfa7012b3d748a23
/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
/usr/share/doc/bltk/HOWTO
/usr/share/doc/bltk/Manual
/usr/share/doc/bltk/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 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).