依赖libevent,ncurses
libevent 2.x 官网:http://libevent.org
下载:https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
依赖ncurses
官网地址:http://invisible-island.net/ncurses/
一般操作方法.
1.下载 wget xxx 2.解压 tar -xvf xxx 3.编译 ./configure && make 或 sh autogen.sh 4.安装 make install
注意
libevent安装之后 tmux会找不到,需要连接到 /usr/lib/目录下面即可
ln -s /usr/local/lib/libevent-2.1.so.6 /usr/lib/libevent-2.1.so.6
tmux安装:
$ git clone https://github.com/tmux/tmux.git $ cd tmux $ sh autogen.sh $ ./configure && make
Enjoy!