CentOS6.9 简化版安装 tmux 步骤说明

前端之家收集整理的这篇文章主要介绍了CentOS6.9 简化版安装 tmux 步骤说明前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

因为安装的是简化版的CentOS6.9,所以很多东西都缺,需要自己手动安装,今天在安装tmux过程中遇到一些问题及解决办法记录下来,供大家参考:

首先需要执行

yum install wget

1。编译安装libevent

wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar zxvf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure
make && make install

2.编译安装tmux
wget https://github.com/tmux/tmux/releases/download/2.5/tmux-2.5.tar.gz
tar zxvf tmux-2.5.tar.gz
cd tmux-2.5
./configure
make && make install


在执行上述命令(./configure)过程中可能会提示一下错误

1、提示出錯信息:
configure: error: no acceptable C compiler found in $PATH
解決辦法:

安装GCC软件套件 命令: yum install gcc

2、提示出錯信息:

configure: error: "curses not found"
解決辦法:
yum install ncurses-devel

3、提示出錯信息: tmux: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory 解決辦法 64位: ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5 32位: ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5

原文链接:https://www.f2er.com/centos/375907.html

猜你在找的CentOS相关文章