Created
January 26, 2017 23:59
-
-
Save Ismael-VC/d19e1416a41b294815d55922fe57e100 to your computer and use it in GitHub Desktop.
Revisions
-
xkniu revised this gist
May 16, 2016 . 2 changed files with 34 additions and 27 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ ## you may need sudo permission to execute some commands or swith to root # if installed old version by yum, remove it first sudo yum remove tmux libevent libevent-devel libevent-headers # install deps sudo yum install gcc kernel-devel make ncurses-devel # create temp dir mkdir /tmp/for-latest-tmux # downloads libenvent and install cd /tmp/for-latest-tmux/ && mkdir ./libenvent && cd ./libenvent wget https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz tar -zxvf libevent-2.0.22-stable.tar.gz cd libevent-2.0.22-stable/ ./configure && make sudo make install # downloads tmux and install cd /tmp/for-latest-tmux/ && mkdir ./tmux && cd ./tmux wget https://github.com/tmux/tmux/releases/download/2.2/tmux-2.2.tar.gz tar -zxvf tmux-2.2.tar.gz cd tmux-2.2/ ./configure && make sudo make install # kill the running tmux # close your terminal window (flushes cached tmux executable) # open new shell and check tmux version pkill tmux tmux -V # remove temp dir if needed rm -rf /tmp/for-latest-tmux This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,27 +0,0 @@ -
xkniu created this gist
Mar 2, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ ## you may need sudo permission to execute some commands # if installed old version by yum, remove it first yum remove tmux libevent libevent-devel libevent-headers # install deps yum install gcc kernel-devel make ncurses-devel # downloads libenvent and install curl -L https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz tar -zxvf libevent-2.0.21-stable.tar.gz cd libevent-2.0.21-stable ./configure make make install # downloads tmux and install # tmux 2.2 wasn't released when write this, use 2.2 release tar to replace git clone from version control git clone https://github.com/tmux/tmux.git wget -L https://github.com/tmux/tmux/releases/download/2.1/tmux-2.1.tar.gz cd tmux sh autogen.sh ./configure && make # pkill tmux # close your terminal window (flushes cached tmux executable) # open new shell and check tmux version tmux -V