Last active
April 18, 2016 10:56
-
-
Save bekbulatov/f6c6617e1543f68e7997 to your computer and use it in GitHub Desktop.
Centos tmux install
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 characters
sudo yum install autoconf automake libtool ncurses-devel | |
mkdir -p ~/opt ~/tmp | |
# install libevent | |
cd ~/tmp | |
git clone https://github.com/libevent/libevent.git | |
cd libevent/ | |
git checkout release-2.0.21-stable | |
sh autogen.sh | |
./configure --prefix=$HOME/opt | |
make | |
make install | |
# install tmux | |
cd ~/tmp | |
git clone https://github.com/tmux/tmux.git tmux | |
cd tmux | |
git checkout 2.0 | |
sh autogen.sh | |
export LIBEVENT_CFLAGS="-I$HOME/opt/include" | |
export LIBEVENT_LIBS="-L$HOME/opt/lib -Wl,-rpath=$HOME/opt/lib -levent" | |
export LDFLAGS="-L$HOME/opt/lib -Wl,-rpath=$HOME/opt/lib" | |
./configure --prefix=$HOME/opt | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment