Skip to content

Instantly share code, notes, and snippets.

@wiseleyb
Forked from sturadnidge/tmux-1.8-on-CentOS-6.x.txt
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save wiseleyb/11301888 to your computer and use it in GitHub Desktop.

Select an option

Save wiseleyb/11301888 to your computer and use it in GitHub Desktop.
# 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