源码安装
如果可以联网的话,使用sudo apt-get install tmux进行安装
下面说的是无法联网时,使用源码编译安装
https://zhuanlan.zhihu.com/p/155662601
1. github上下载源代码¶
GAS
wget https://github.com/tmux/tmux/releases/download/3.5a/tmux-3.5a.tar.gz
wget https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
2. 解压安装¶
先直接安装tmux,如果报错在安装libevent