Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

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
You can’t perform that action at this time.