zoukankan      html  css  js  c++  java
  • centos6.8下源码编译安装tmux

    1. 获取源码

      git clone https://github.com/tmux/tmux.git ~/tmux

    2. 准备工作

      2.1 安装ncurses开发库

        yum install ncurses-devel -y

      2.2 安装libevent

        git clone https://github.com/libevent/libevent.git ~/libevent

        cd libevent

        sh autogen.sh

        ./configure

         make -j 4

         make install

         cd ..

    3. 编译安装

      cd ~/tmux

      sh autogen.sh

      ./configure CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"

      make -j4

      su root

      make install

      ln -sf /usr/local/lib/libevent-2.2.so.1 /lib64/libevent-2.2.so.1

  • 相关阅读:
    B
    A
    P1057 传球游戏
    P1702 突击考试
    P1394 山上的国度
    P2117 小Z的矩阵
    P1510 精卫填海
    P1294 高手去散步
    P1071 潜伏者
    保留
  • 原文地址:https://www.cnblogs.com/dakewei/p/10577573.html
Copyright © 2011-2022 走看看