tmux在Centos上安装

来源:互联网 发布:comic 软件 编辑:程序博客网 时间:2024/05/20 18:00

主要是两个:libevent 和 tmux。


1、安装libevent

  1. 下载libevent的源码并解码;
  2. ./configure && make;
  3. make install.

2、安装tmux

  1. 下载tmux源码并解压缩;
  2. ./configure && make
  3. make install


可能在最后遇到错误:tmux: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory

解决方案:

ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5     # 32位系统

ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5   # 64位系统

0 0