如果在公司的环境,没有root权限,需要安装 tmux 在你自己的home下:

 

(cd to your home)

/remote/home1/AAA

(wget libevent and tmux, and then uncompress them)

Tar -xvzf libevent-2.0.20-stable.tar.gz
tar -xvzf tmux-1.7.tar.gz 

cd libevent-2.0.20-stable

./congiure --prefix=/remote/home1/AAA/tmux-1.7_Install

make

make install 

cd ../tmux-1.7

setenv PKG_CONFIG_PATH /remote/home1/AAA/libevent-2.0.20-stable

./configure --prefix=/remote/home1/AAA/tmux-1.7_Install

make

make install

 

在产生makefile后,需要手动在makefile修改一个问题: 删除include路径中的  -I-, 因为 libevent lib path 已经被包含了. 

am__append_7 = -I. -I- -I/usr/local/include 

 

有root权限的安装非常简单,例如CentOS安装Tmux

yum install libevent-devel ncurses-devel
或进入进tmux的sourceforge主页http://tmux.sourceforge.net/,wget之
然后:
tar -zxvf tmux-1.6.tar.gz
cd tmux-1.6
./configure
make
make install

 

完! 

相关文章:

  • 2022-01-20
  • 2021-05-03
  • 2021-07-30
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2021-08-29
  • 2021-06-16
猜你喜欢
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-09-20
相关资源
相似解决方案