How To Install tmux.x86_64 on Amazon Linux 2

In this tutorial we learn how to install tmux.x86_64 in Amazon Linux 2. tmux.x86_64 is A terminal multiplexer

Introduction

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

What is tmux.x86_64

tmux is a “terminal multiplexer.” It enables a number of terminals (or windows) to be accessed and controlled from a single terminal. tmux is intended to be a simple, modern, BSD-licensed alternative to programs such as GNU Screen.

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

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

sudo yum -y install tmux.x86_64

How To Uninstall tmux.x86_64 on Amazon Linux 2

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

sudo yum remove tmux.x86_64

tmux.x86_64 Package Contents on Amazon Linux 2

/usr/bin/tmux
/usr/share/doc/tmux-1.8
/usr/share/doc/tmux-1.8/CHANGES
/usr/share/doc/tmux-1.8/FAQ
/usr/share/doc/tmux-1.8/TODO
/usr/share/doc/tmux-1.8/examples
/usr/share/doc/tmux-1.8/examples/bash_completion_tmux.sh
/usr/share/doc/tmux-1.8/examples/h-boetes.conf
/usr/share/doc/tmux-1.8/examples/n-marriott.conf
/usr/share/doc/tmux-1.8/examples/screen-keys.conf
/usr/share/doc/tmux-1.8/examples/t-williams.conf
/usr/share/doc/tmux-1.8/examples/tmux.vim
/usr/share/doc/tmux-1.8/examples/tmux_backup.sh
/usr/share/doc/tmux-1.8/examples/vim-keys.conf
/usr/share/man/man1/tmux.1.gz

References

Summary

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