Skip to content

Instantly share code, notes, and snippets.

@kelvinAI
Forked from rothgar/install-tmux
Last active November 19, 2015 08:22
Show Gist options
  • Save kelvinAI/4e3ada8eecb4fc2c903d to your computer and use it in GitHub Desktop.
Save kelvinAI/4e3ada8eecb4fc2c903d to your computer and use it in GitHub Desktop.
Installing tmux 2.1 on CentOS 6.7 Final
# 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