目录

centos 安装 tmux

# centos 安装 tmux

先设置个代理

export http_proxy="http://192.168.31.31:9999"
export https_proxy="http://192.168.31.31:9999"
1
2

# 安装前置依赖

yum install libevent ncurses
yum install libevent-devel ncurses-devel gcc make bison pkg-config
1
2

# 安装

wget https://github.com/tmux/tmux/releases/download/3.2a/tmux-3.2a.tar.gz
tar -zxf tmux-*.tar.gz
cd tmux-*/
./configure
make && sudo make install
1
2
3
4
5

# 检查

tmux -V
1

搞定

搞定

推荐一个使用说明(最下面有个配置推荐 放好~/.tmux.conf 然后重开就好了)

# 找不到 libevent 的问题

tmux: error while loading shared libraries: libevent_core-2.1.so.6: cannot open shared object file: No such file or directory

问题 1

cp /usr/local/lib/libevent-2.1.so.6 /lib64/libevent-2.1.so.6
cp /usr/local/lib/libevent_core-2.1.so.6 /lib64/libevent_core-2.1.so.6
1
2

.

上次更新: 2024-01-10 16:01:00
最近更新
01
自建 RSS 订阅
01-05
02
搭建私人 docker hub
01-02
03
关于 SSH 攻击
10-12
更多文章>