Skip to content

Instantly share code, notes, and snippets.

@daviddavis
Forked from sturadnidge/tmux-1.8-on-CentOS-6.x.txt
Last active February 18, 2016 22:52
Show Gist options
  • Save daviddavis/11408400 to your computer and use it in GitHub Desktop.
Save daviddavis/11408400 to your computer and use it in GitHub Desktop.
Install tmux 1.8 on CentOS and RHEL
# 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/project/tmux/tmux/tmux-1.8/tmux-1.8.tar.gz
#
# install deps
sudo yum install gcc kernel-devel make ncurses-devel
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar zxf libevent-2.0.21-stable.tar.gz && cd libevent-2.0.21-stable
./configure --prefix=/usr/local
make && sudo make install
wget http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.8/tmux-1.8.tar.gz
tar zxvf tmux-1.8.tar.gz
cd tmux-1.8
LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local
make && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment