-
-
Save resting/5053284 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
#!/usr/bin/env bash | |
export TMUX_INSTALL_VERSION=1.6 | |
wget -q -O - "https://gist.github.com/raw/4561674/install_tmux_${TMUX_INSTALL_VERSION}_on_ubuntu_10.04.sh" | sudo bash |
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 | |
# | |
# Install tmux 1.6 on Ubuntu 10.04 | |
# | |
# Ref: http://bionicraptor.co/2011/07/23/how-to-compiling-tmux-1-5-for-ubuntu-10-04/ | |
# | |
export TMUX_INSTALL_VERSION=1.6 | |
export DOWNLOAD_URL="http://downloads.sourceforge.net/project/tmux/tmux/tmux-${TMUX_INSTALL_VERSION}/tmux-${TMUX_INSTALL_VERSION}.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Ftmux%2Ffiles%2Ftmux%2Ftmux-${TMUX_INSTALL_VERSION}%2Ftmux-${TMUX_INSTALL_VERSION}.tar.gz%2Fdownload&ts=1358477903" | |
sudo aptitude install build-essential debhelper diffstat dpkg-dev fakeroot g++ g++-4.4 html2text intltool-debian libmail-sendmail-perl libncurses5-dev libstdc++6-4.4-dev libsys-hostname-long-perl po-debconf quilt xz-utils libevent-1.4-2 libevent-core-1.4-2 libevent-extra-1.4-2 libevent-dev checkinstall | |
echo $DOWNLOAD_URL | |
wget $DOWNLOAD_URL -O tmux-$TMUX_INSTALL_VERSION.tar.gz | |
tar xvvf tmux-$TMUX_INSTALL_VERSION.tar.gz | |
cd tmux-$TMUX_INSTALL_VERSION/ | |
./configure | |
make | |
sudo checkinstall | |
rm -f tmux-$TMUX_INSTALL_VERSION.tar.gz | |
sudo rm -rf tmux-$TMUX_INSTALL_VERSION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment