-
-
Save tallship/5118333 to your computer and use it in GitHub Desktop.
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
# 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 | |
# cd to tmux src | |
LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local | |
make && make install | |
# you're good to go... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
!/bin/sh
yum -y install gcc kernel-devel make ncurses-devel
mkdir -p /usr/local/src/libevent
mkdir -p /usr/local/src/tmux
cd /usr/local/src/libevent
wget 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 --prefix=/usr/local
make && make install
cd /usr/local/src/tmux
wget http://downloads.sourceforge.net/tmux/tmux-1.7.tar.gz
tar zxvf tmux-1.7.tar.gz
cd tmux-1.7
LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local
make && make install
echo "Chopper says... "
echo "Fuckin' Bang!"
exit 0