-
-
Save mtfurlan/6784936ba8f4a5fda6f5 to your computer and use it in GitHub Desktop.
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/bash | |
#worked on raspian on 2015-01-12 | |
# exit on error | |
set -e | |
mkdir $HOME/tmux_tmp | |
cd $HOME/tmux_tmp | |
wget "https://cloud.github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz" | |
wget "http://hivelocity.dl.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-1.9a.tar.gz" | |
tar -xf libevent-2.0.21-stable.tar.gz | |
cd libevent-2.0.21-stable | |
./configure | |
make | |
make verify | |
sudo make install | |
sudo ldconfig | |
cd .. | |
sudo apt-get install libncurses-dev | |
tar xvfz tmux-1.9a.tar.gz | |
cd tmux-1.9a/ | |
./configure && make | |
sudo make install | |
cd $HOME | |
rm -rf $HOME/tmux_tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment