Skip to content

Instantly share code, notes, and snippets.

@sasimpson
Forked from bylatt/tmux.md
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sasimpson/195aec677d5a87fa14d6 to your computer and use it in GitHub Desktop.
Save sasimpson/195aec677d5a87fa14d6 to your computer and use it in GitHub Desktop.

Download Libevent and Tmux.

mkdir ~/build
cd ~/build
curl -OL http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz
curl -OL http://downloads.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.16-stable.tar.gz

Extract.

tar zxvf libevent-2.0.16-stable.tar.gz
tar zxvf tmux-1.9a.tar.gz

Install.

// Libevent

cd libevent-2.0.16-stable/
./configure --prefix=/usr/local/libevent
make
sudo make install

// Tmux
cd tmux-1.9a
LDFLAGS="-L/usr/local/libevent/lib" CPPFLAGS="-I/usr/local/libevent/include" LIBS="-lresolv" ./configure --prefix=/usr/local/tmux
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment