Last active
August 8, 2017 01:16
-
-
Save kentarosasaki/9604158709265b23df4d72d9687cf3e0 to your computer and use it in GitHub Desktop.
tmux 2.4 をローカルインストールする ref: http://qiita.com/kentarosasaki/items/f6769109a251fcc96208
This file contains 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 characters
mkdir $HOME/local |
This file contains 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 characters
wget https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz | |
wget http://ftp.gnu.org/gnu/ncurses/ncurses-6.0.tar.gz | |
wget https://github.com/tmux/tmux/releases/download/2.4/tmux-2.4.tar.gz | |
tar zxvf ncurses-6.0.tar.gz | |
tar zxvf libevent-2.1.8-stable.tar.gz | |
tar zxvf tmux-2.4.tar.gz |
This file contains 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 characters
cd libevent-2.1.8-stable | |
./configure --prefix=$HOME/local/ | |
make | |
make install |
This file contains 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 characters
cd ncurses-6.0 | |
./configure --prefix=$HOME/local/ | |
make | |
make install |
This file contains 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 characters
cd tmux-2.4 | |
export DIR="$HOME/local" | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR/lib | |
./configure --prefix=$DIR CFLAGS="-I$DIR/include" LDFLAGS="-L$DIR/lib" | |
make | |
make install |
This file contains 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 characters
vi ~/.bash_profile |
This file contains 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 characters
export DIR="$HOME/local" | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR/lib | |
export PATH=$HOME/local/bin:$PATH |
This file contains 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 characters
. ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment