Skip to content

Instantly share code, notes, and snippets.

@wiseleyb
Forked from sturadnidge/tmux-1.8-on-CentOS-6.x.txt
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save wiseleyb/11301888 to your computer and use it in GitHub Desktop.

Select an option

Save wiseleyb/11301888 to your computer and use it in GitHub Desktop.

Revisions

  1. wiseleyb revised this gist Apr 25, 2014. 1 changed file with 12 additions and 6 deletions.
    18 changes: 12 additions & 6 deletions tmux-1.8-on-CentOS-6.x.txt
    Original file line number Diff line number Diff line change
    @@ -2,20 +2,26 @@
    # (thx bluejedi for tip on latest tmux URL)
    #
    # at the time of writing:
    # https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
    # http://sourceforge.net/projects/tmux/files/latest/download?source=files
    #
    cd ~
    wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
    wget http://sourceforge.net/projects/tmux/files/latest/download?source=files
    tar -zxvf libevent-2.0.21-stable.tar.gz
    tar -zxvf tmux-1.9a.tar.gz

    # install deps
    yum install gcc kernel-devel make ncurses-devel
    sudo yum install gcc kernel-devel make ncurses-devel

    # cd to libevent2 src
    cd ~/libevent-2.0.21-stable
    ./configure --prefix=/usr/local
    make && make install
    sudo make
    sudo make install

    # cd to tmux src
    cd ~/tmux-1.9a
    LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local
    make && make install
    sudo make
    sudo make install

    # you're good to go, for a sample ~/.tmux.conf check out
    # https://github.com/sturadnidge/misc/blob/master/.tmux.conf
  2. @sturadnidge sturadnidge renamed this gist Sep 15, 2013. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions gistfile1.txt → tmux-1.8-on-CentOS-6.x.txt
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,9 @@
    # download latest libevent2 and tmux sources, and extract them somewhere
    # (thx bluejedi for tip on latest tmux URL)
    #
    # at the time of writing:
    # https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
    # http://downloads.sourceforge.net/tmux/tmux-1.7.tar.gz
    # http://sourceforge.net/projects/tmux/files/latest/download?source=files
    #

    # install deps
    @@ -16,4 +17,5 @@ make && make install
    LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local
    make && make install

    # you're good to go...
    # you're good to go, for a sample ~/.tmux.conf check out
    # https://github.com/sturadnidge/misc/blob/master/.tmux.conf
  3. Stuart Radnidge revised this gist Dec 4, 2012. 1 changed file with 1 addition and 4 deletions.
    5 changes: 1 addition & 4 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -12,11 +12,8 @@ yum install gcc kernel-devel make ncurses-devel
    ./configure --prefix=/usr/local
    make && make install

    # symlink into /usr/lib64
    ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5

    # cd to tmux src
    ./configure --prefix=/usr/local
    LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local
    make && make install

    # you're good to go...
  4. Stuart Radnidge created this gist Dec 1, 2012.
    22 changes: 22 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    # download latest libevent2 and tmux sources, and extract them somewhere
    #
    # at the time of writing:
    # https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
    # http://downloads.sourceforge.net/tmux/tmux-1.7.tar.gz
    #

    # install deps
    yum install gcc kernel-devel make ncurses-devel

    # cd to libevent2 src
    ./configure --prefix=/usr/local
    make && make install

    # symlink into /usr/lib64
    ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5

    # cd to tmux src
    ./configure --prefix=/usr/local
    make && make install

    # you're good to go...