Forked from sturadnidge/tmux-1.8-on-CentOS-6.x.txt
Last active
August 29, 2015 14:00
-
-
Save wiseleyb/11301888 to your computer and use it in GitHub Desktop.
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 | |
# (thx bluejedi for tip on latest tmux URL) | |
# | |
# at the time of writing: | |
cd ~ | |
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
wget http://sourceforge.net/projects/tmux/files/latest/download?source=files | |
tar -zxvf libevent-2.0.21-stable.tar.gz | |
tar -zxvf tmux-1.9a.tar.gz | |
# install deps | |
sudo yum install gcc kernel-devel make ncurses-devel | |
# cd to libevent2 src | |
cd ~/libevent-2.0.21-stable | |
./configure --prefix=/usr/local | |
sudo make | |
sudo make install | |
# cd to tmux src | |
cd ~/tmux-1.9a | |
LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local | |
sudo make | |
sudo make install | |
# you're good to go, for a sample ~/.tmux.conf check out | |
# https://github.com/sturadnidge/misc/blob/master/.tmux.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment