dependency

yum -y install byacc yum -y install libevent-devel

install

git clone https://github.com/tmux/tmux.git

sh autogen.sh

./configure && make

make install

How to install tmux on centos 7