Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install tmux1.8 in Ubuntu 10.04
#author: Luis Saffie <luis@saffie.ca>
#url: www.saffie.ca
#twitter: lsaffie
#
#tmux1.8 has some great features. One of them is pane zooming..
#http://blog.sanctum.geek.nz/zooming-tmux-panes/
#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 - https://gist.github.com/lsaffie/6335957/raw/tmux18-ubuntu-10-04 |bash
#step 1: download and install libevent2
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
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
wget http://downloads.sourceforge.net/tmux/tmux-1.8.tar.gz
tar xzf tmux-1.8.tar.gz
cd tmux-1.8
./configure LDFLAGS="-Wl,-rpath /usr/local/lib"
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.