Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install tmux1.8 in Ubuntu 10.04
#author: Luis Saffie <>
#twitter: lsaffie
#tmux1.8 has some great features. One of them is pane zooming..
#however, tmux 1.8 depends on libevent2 which does not come with 10.04
#solution: build from scratch!
#NOTE: LDFLAGS is used to build tmux because for some reason it can't find the ld_libs from libevent2.. Everything done by this script is legit thought...
#USAGE: wget -O - |bash
#step 1: download and install libevent2
tar xzf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure && make && sudo make install
#step 2: downloand and install tmux1.8
tar xzf tmux-1.8.tar.gz
cd tmux-1.8
./configure LDFLAGS="-Wl,-rpath /usr/local/lib"
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment