Installation

Dependencies

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

It also depends on ncurses, available from this page

Installation

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 https://github.com/tmux/tmux.git
$ cd tmux
$ sh autogen.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