本文主要是介绍服务器上安装tmux,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
服务器上安装tmux
https://github.com/tmux/tmux
问题解决参考:
http://isunix.github.io/blog/2016/07/12/tmux-error-while-loading-shared-libraries-libevent-2-dot-0-so-dot-5/
export DIR="/usr/local"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR/lib
./configure --prefix=$DIR CFLAGS="-I$DIR/include" LDFLAGS="-L$DIR/lib"
make
make install
将LD_LIBRARY_LIB写入系统路径,将会更加方便:
echo 'export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"' >> ~/.bashrc
http://www.2cto.com/os/201508/438605.html
这篇关于服务器上安装tmux的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!