You can use apt, but the latest version may not be available.
Install with apt
apt install tmux
How to build and install from source code
Install from source code
sudo apt update
sudo apt install git automake bison build-essential pkg-config libevent-dev libncurses5-dev
cd /usr/local/src/
git clone https://github.com/tmux/tmux
cd ./tmux/
./autogen.sh
./configure --prefix=/usr/local
make
sudo make install
bash
Recommended Posts