Created
October 15, 2012 00:29
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
after line 16: tar xzf tmux-for-iTerm2-20120726.tar.gz