Skip to content

Instantly share code, notes, and snippets.

@admackin
Created October 15, 2012 00:29
Show Gist options
  • Save admackin/3890275 to your computer and use it in GitHub Desktop.
Save admackin/3890275 to your computer and use it in GitHub Desktop.
Build tmux (iTerm2 version) as a local single-user installation on Ubuntu 10.04
#!/bin/sh
mkdir tmp
cd tmp
wget https://github.com/downloads/libevent/libevent/libevent-2.0.20-stable.tar.gz | tar xzf -
cd libevent-2.0.20-stable
./configure --prefix=$HOME/local && make && make install
cd ..
echo 'export C_INCLUDE_PATH="$HOME/local/include:$C_INCLUDE_PATH"' >> $HOME/.bashrc
echo 'export LIBRARY_PATH="$HOME/local/lib:$LIBRARY_PATH"' >> $HOME/.bashrc
echo 'export LD_LIBRARY_PATH="$HOME/local/lib:$LD_LIBRARY_PATH"' >> $HOME/.bashrc
echo 'export PATH="$HOME/local/bin:$PATH"' >> $HOME/.bashrc
wget http://iterm2.googlecode.com/files/iTerm2-1_0_0_20120726.zip
unzip iTerm2-1_0_0_20120726.zip
cd tmux/
CPPFLAGS="-I $HOME/local/include" CFLAGS="-L $HOME/local/lib/" ./configure --prefix=$HOME/local
make && make install
@rmrfus
Copy link

rmrfus commented Apr 2, 2013

after line 16: tar xzf tmux-for-iTerm2-20120726.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment