Forked from sturadnidge/tmux-1.8-on-CentOS-6.x.txt
Last active
February 18, 2016 22:52
-
-
Save daviddavis/11408400 to your computer and use it in GitHub Desktop.
Install tmux 1.8 on CentOS and RHEL
This file contains 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/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