Skip to content

Instantly share code, notes, and snippets.

@lemonjp
Forked from sturadnidge/tmux-1.8-on-CentOS-6.x.txt
Last active August 29, 2015 14:23
Show Gist options
  • Save lemonjp/91a314de75d9b94ec8b7 to your computer and use it in GitHub Desktop.
Save lemonjp/91a314de75d9b94ec8b7 to your computer and use it in GitHub Desktop.
# download latest libevent2 and tmux sources, and extract them somewhere
# (thx bluejedi for tip on latest tmux URL)
#
# at the time of writing:
# http://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.22-stable.tar.gz/download
# wget http://downloads.sourceforge.net/tmux/tmux-1.8.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, for a sample ~/.tmux.conf check out
# https://github.com/sturadnidge/misc/blob/master/.tmux.conf
tmux -2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment