How To Install tmux-powerline on Rocky Linux 8

In this tutorial we learn how to install tmux-powerline on Rocky Linux 8. tmux-powerline is Powerline for tmux

Introduction

In this tutorial we learn how to install tmux-powerline on Rocky Linux 8.

What is tmux-powerline

Powerline for tmux. Add source /usr/share/tmux/powerline.conf to your ~/.tmux.conf file.

We can use yum or dnf to install tmux-powerline on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install tmux-powerline.

Install tmux-powerline 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 tmux-powerline using dnf by running the following command:

sudo dnf -y install tmux-powerline

Install tmux-powerline 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 tmux-powerline using yum by running the following command:

sudo yum -y install tmux-powerline

How To Uninstall tmux-powerline on Rocky Linux 8

To uninstall only the tmux-powerline package we can use the following command:

sudo dnf remove tmux-powerline

tmux-powerline Package Contents on Rocky Linux 8

/usr/share/doc/tmux-powerline
/usr/share/doc/tmux-powerline/LICENSE
/usr/share/doc/tmux-powerline/README.rst
/usr/share/tmux
/usr/share/tmux/powerline-base.conf
/usr/share/tmux/powerline.conf
/usr/share/tmux/powerline_tmux_1.7_plus.conf
/usr/share/tmux/powerline_tmux_1.8.conf
/usr/share/tmux/powerline_tmux_1.8_minus.conf
/usr/share/tmux/powerline_tmux_1.8_plus.conf
/usr/share/tmux/powerline_tmux_1.9_plus.conf
/usr/share/tmux/powerline_tmux_2.1_plus.conf

References

Summary

In this tutorial we learn how to install tmux-powerline on Rocky Linux 8 using yum and dnf.