1 yum -y install ncurses-devel
2 tar zxf libevent2
3 cd libevent2
4 ./configure --prefix=/usr/local/libevent2
5 make && make install
6 tar zxf tmux2
7 cd tmux2
8 CFLAGS="-I/usr/local/libevent2/include" LDFLAGS="-L/usr/local/libevent2/lib" ./configure --prefix=/usr/local/tmux
9 make && make install
10 ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5
11 输入tmux运行
参考:
http://blog.csdn.net/ghuil/article/details/46850051