Last active
December 21, 2015 16:49
-
-
Save lsaffie/6335957 to your computer and use it in GitHub Desktop.
Install tmux1.8 in Ubuntu 10.04
This file contains hidden or 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
#author: Luis Saffie <[email protected]> | |
#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