tmux depends on libevent 2.x, available from this page

It also depends on ncurses, available from this page


To build and install tmux from a release tarball, use:
$ ./configure && make
$ sudo make install

tmux can use the utempter library to update utmp(5), if it is installed - run configure with –enable-utempter to enable this.

To get and build the latest from version control
$ git clone
$ cd tmux
$ sh
$ ./configure && make
To get from your package manager

Installing tmux on Ubuntu and Debian

$ sudo apt install tmux

Installing tmux on CentOS and Fedora

$ sudo yum install tmux

Installing tmux on macOS

$ brew install tmux