Last active
May 10, 2021 18:31
-
-
Save sturadnidge/4185338 to your computer and use it in GitHub Desktop.
Install tmux 1.8 on CentOS 6.x minimal (64bit)
This file contains hidden or 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: | |
# https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
# http://sourceforge.net/projects/tmux/files/latest/download?source=files | |
# | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works for me on CentOS release 6.3 (Final), tmux-1.9.tar. But I used libevent-2.1.8-1 instead.