Install tmux on CentOS 6

Linux
Linux

This is a note from when I installed tmux on a CentOS 6 minimal VM. If you run `yum` without thinking about it, you get Error: Nothing to do because the package is not available. If you just want to install tmux quickly and do not mind that the version is a little old, the following is enough.

Installation

Install it with yum.

$ sudo yum install epel-release
...
$ sudo yum install tmux

Package Arch Version Repository Size

Installing: tmux x86_64 1.6-3.el6 epel 208 k

Transaction Summary

Install 1 Package(s)

Total download size: 208 k Installed size: 494 k Is this ok [y/N]: …

$ tmux -V tmux 1.6

Test Environment

$ cat /etc/centos-release
CentOS release 6.10 (Final)

Bonus

.tmux.conf

Automatically Start tmux When Added to bashrc

Me
Me

Since this is a VM test environment I use often, it may be worth putting this in the Vagrant file.

CentOS tmux
Sponsored links
Follow ☆Geha☆