依賴libevent,ncursesgit
libevent 2.x 官網:http://libevent.org
下載:https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gzgithub
依賴ncursesbash
官網地址:http://invisible-island.net/ncurses/spa
通常操做方法..net
1.下載 wget xxx 2.解壓 tar -xvf xxx 3.編譯 ./configure && make 或 sh autogen.sh 4.安裝 make install
注意code
libevent安裝以後 tmux會找不到,須要鏈接到 /usr/lib/目錄下面便可blog
ln -s /usr/local/lib/libevent-2.1.so.6 /usr/lib/libevent-2.1.so.6
tmux安裝:get
$ git clone https://github.com/tmux/tmux.git $ cd tmux $ sh autogen.sh $ ./configure && make
Enjoy!