-
-
Save kelvinAI/4e3ada8eecb4fc2c903d to your computer and use it in GitHub Desktop.
Installing tmux 2.1 on CentOS 6.7 Final
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
# Install tmux on Centos release 6.7 Final | |
# install deps | |
yum install gcc kernel-devel make ncurses-devel | |
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
wget https://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.22-stable.tar.gz | |
tar -xzvf libevent-2.0.22-stable.tar.gz | |
cd libevent-2.0.22-stable | |
./configure --prefix=/usr/local | |
make | |
make install (run as root) | |
wget https://github.com/tmux/tmux/releases/download/2.1/tmux-2.1.tar.gz | |
tar -xzvf tmux-2.1.tar.gz | |
cd tmux-2.1 | |
LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local | |
make | |
make install (run as root) | |
#pkill tmux | |
tmux -V | |
#Done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment