Build tmux on CentOS 7

So I have been recently annoyed with some super strange display issues that tmux 2.7 on my server produces. After some digging I decided to re-build version 2.8 (which is the latest release as of time of writing) of tmux.

We’ll be grabbing the official tmux repo from, build version 2.8 and install it. Note that you’ll need root privileges to install tmux.

$ sudo yum remove tmux # remove old version of tmux
$ git clone
$ cd tmux
$ git checkout 2.8
$ sh
$ sudo yum install libevent-devel ncurses-devel automake
$ ./configure && make
$ sudo make install
$ tmux # profit