Last active
April 7, 2016 00:34
-
-
Save dragonxlwang/b6e85282311464928677bf7997965d9d to your computer and use it in GitHub Desktop.
tmux and git
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 ~ | |
yum groupinstall "Development Tools" | |
yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel curl-devel | |
# for gga git gui | |
sudo yum install xorg-x11-xauth | |
ver=2.8.0 | |
curl -L https://github.com/git/git/archive/v$ver.tar.gz -o git-$ver.tar.gz | |
tar -zxf git-$ver.tar.gz | |
cd git-$ver | |
make configure | |
./configure --prefix=/usr/local | |
make all doc | |
make install install-doc install-html install-man install-info | |
make install | |
./git --version |
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
# Install tmux on Centos release 6.5 | |
cd ~ | |
# install deps | |
yum install gcc kernel-devel make ncurses-devel | |
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
curl -OL https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
tar -xvzf libevent-2.0.21-stable.tar.gz | |
cd libevent-2.0.21-stable | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
# DOWNLOAD SOURCES FOR TMUX AND MAKE AND INSTALL | |
cd ~ | |
curl -OL https://github.com/tmux/tmux/releases/download/2.1/tmux-2.1.tar.gz | |
tar -xvzf tmux-2.1.tar.gz | |
cd tmux-2.1 | |
LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local | |
make | |
sudo make install | |
# pkill tmux | |
# close your terminal window (flushes cached tmux executable) | |
# open new shell and check tmux version | |
tmux -V |
install tmux
eval "$(curl -fsSL https://git.io/vVaPE)"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
install git