Skip to content

Instantly share code, notes, and snippets.

@unforced
Last active December 21, 2015 03:58
Show Gist options
  • Select an option

  • Save unforced/6245718 to your computer and use it in GitHub Desktop.

Select an option

Save unforced/6245718 to your computer and use it in GitHub Desktop.
Tmux 1.8 CentOS
# I had problems with using ncurses from source, so just use the one from Yum
sudo yum install gcc kernel-devel make ncurses-devel
# Download, build, and install libevent
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar xvf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure --prefix=/usr/local
make && sudo make install
# Download, build. and install tmux
wget http://downloads.sourceforge.net/tmux/tmux-1.8.tar.gz
tar xzf 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