zoukankan      html  css  js  c++  java
  • tmux安装


    如果在公司的环境,没有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

    完! 


    作者:iTech
    微信公众号: cicdops
    出处:http://itech.cnblogs.com/
    github:https://github.com/cicdops/cicdops

  • 相关阅读:
    三、linux系统管理
    二、基本命令
    一、基本环境
    mysql-day4
    mysql-day3
    mysql-day2
    mysql-day1
    3、线性表的链式存储结构
    2、线性表之顺序表
    1、时间复杂度
  • 原文地址:https://www.cnblogs.com/itech/p/2822145.html
Copyright © 2011-2022 走看看