一.源码安装ncurses库

  1.1 获取源码

    wget https://invisible-island.net/datafiles/release/ncurses.tar.gz

    tar xvf ncurses.tar.gz ~/

    cd ~/ncurses-6.1

  1.2 进行配置(安装到家目录的ncurses目录下)

    ./configure --prefix=/home/jello/ncurses

  1.3 编译

    make -j4

  1.4 安装

    make install

    libtool --finish ~/ncurses/lib

二.源码安装libevent库

  2.1 获取源码

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

    cd ~/libevent

  2.2 生成配置

    ./autogen.sh

  2.3 进行配置(安装到家目录的libevent目录下,--disable-samples不编译样例程序)

    ./configure --prefix=/home/jello/libevent  --disable-samples

  2.4 编译

    make -j4

  2.5 安装

    make install

    libtool --finish ~/libevent/lib

三.源码安装tmux

  3.1 获取源码

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

    cd ~/tmux

  3.2 生成配置

    ./autogen.sh

  3.3 进行配置(安装到家目录的tmux目录下)

    ./configure --prefix=/home/jello/tmux CFLAGS="-I/usr/local/include -I/home/jello/libevent/include -I/home/jello/ncurses/include" LDFLAGS="-L/usr/local/lib -L/home/jello/libevent/lib -L/home/jello/ncurses/lib"

  3.4 编译

    make -j4

  3.5 安装

    make install

  3.6 指定共享库的搜索路径

    export LD_LIBRARY_PATH=/home/jello/libevent/lib:/home/jello/ncurses/lib:$LD_LIBRARY_PATH

    

debian下如何源码安装tmux的更多相关文章

  1. RedHat7下PostGIS源码安装

    本文介绍在RedHat7环境下安装使用PostGIS的流程. 1. PostgreSQL 1.1 yum安装PostgreSQL 这个比较简单,直接使用yum安装即可. $ sudo yum inst ...

  2. linux下python3源码安装及卸载

    Linux下Python3的源码编译安装和卸载方法 [日期:2019-06-21] 来源:博客园  作者:wuli潇萧 [字体:大 中 小]     (一)Linux下软件的源码编译安装和卸载方法 L ...

  3. Cenos(6.6/7.1)下从源码安装Python+Django+uwsgi+nginx到写nginx的环境部署(一)

    梳理下这几个的关系: centos是redhat的社区版操作系统. Python2.7.5是开发语言(centos6.5下自带的python是2.6.6版本,所以需要源码更新,而centos7.1下面 ...

  4. Linux(CentOS或RadHat)下MySQL源码安装

    安装环境: CentOS6.3 64位 软件: Mysql-5.6 所需包: gcc/g++ :MySQL 5.6开始,需要使用g++进行编译.cmake  :MySQL 5.5开始,使用cmake进 ...

  5. centos6下从源码安装setuptools和pip

    1. 下载setuptools及pip的源码包 setuptools与pip都是python的模块 setuptools源码包: https://pypi.python.org/pypi/setupt ...

  6. linux下如何源码安装expect

    1.作用 自动交互.比如如果用ssh登陆服务器,每次都输入密码,然而你觉得麻烦,那你就可以使用expect来做自动交互,这样的话就不用每次都输入密码 2.依赖 依赖tcl 3.获取源码 wget ht ...

  7. Windows下sklearn源码安装

    简介 在Windows下编译sklearn源码,主要注意二点: 编译环境的搭建 编译顺序 编译环境的搭建 如果环境没有搭建好,最常见的报错,就是"error: Unable to find ...

  8. centos下kong源码安装

    参考资料: https://docs.konghq.com/install/source/ 环境准备:操作系统 centeros7.3 1 :openssl和pcre一般系统自带,如果没有可自己安装  ...

  9. Ubuntu 14.04下从源码安装qt4.x

    转自:http://www.cnblogs.com/crazywangzx/p/3505293.html 1.到官网http://qt-project.org/downloads或者ftp://ftp ...

随机推荐

  1. WIN32窗口类风格和窗口风格(备查询)

    一.WNDCLASS typedef struct { UINT cbSize //这个结构体的长度,一般用sizeof(WNDCLASSEX)设置 UINT style //窗口式样 WNDPROC ...

  2. 擠出機步進馬達的 Steps per Unit 該如何計算?

    擠出機步進馬達的 Steps per Unit 該如何計算?   這邊 Steps per Unit 指的是塑料往前推進1mm,步進馬達須要走幾步.依此定義,可知計算方式可以用 步進馬達轉一圈需要的步 ...

  3. 压缩和解压缩(I)

    ZipArchive 压缩方法 -(void)zipArchiveWithFiles { //创建解压缩对象 ZipArchive *zip = [[ZipArchive alloc]init]; / ...

  4. SQL 中的连接查询

    关于SQL的应用,肯定离不开查询,而相对复杂的查询,总是离不开对表的连接,单个表操作的并不罕见,但是在应用环境大多数的查询都是针对2.3个表甚至更多的表7,至于连接,有内连接.外链接.交叉连接之分,每 ...

  5. Ontology Relations

    Overview The following page documents the relations used in the filtered GO ontology. For informatio ...

  6. python selenium设置chrome的下载路径

    python可以通过ChromeOptions设置chrome参数,如下载路径等,代码如下(python 3.6.7): #-*-coding=utf-8-*- from selenium impor ...

  7. 调用微信JS-SDK配置签名

    前后端进行分开开发: 1:后端实现获取 +++接口凭证:access_token (公众号的全局唯一接口调用凭据) ** GET 获取:https://api.weixin.qq.com/cgi-bi ...

  8. SpringMVC中的自定义参数绑定案例

    由于日期数据有很多种格式,所以springmvc没办法把字符串转换成日期类型.所以需要自定义参数绑定.前端控制器接收到请求后,找到注解形式的处理器适配器,对RequestMapping标记的方法进行适 ...

  9. spring 事物的一些理解

    推荐一个我认为Spring事物写得很好的文章. 文章链接:http://www.codeceo.com/article/spring-transactions.html  文章作者:码农网 – 吴极心 ...

  10. 100.容器List-ArrayList

    package collection; import java.util.ArrayList; import java.util.Collection; import java.util.Date; ...