Skip to content

Instantly share code, notes, and snippets.

@IaroslavR
Last active February 1, 2016 21:34
Show Gist options
  • Save IaroslavR/89e8d538bdf798853eaf to your computer and use it in GitHub Desktop.
Save IaroslavR/89e8d538bdf798853eaf to your computer and use it in GitHub Desktop.
byobu on CentOS
LIBEVENT='libevent-2.0.22-stable'
# Check for last version on http://libevent.org/
TMUX='tmux-2.0'
# Check for last version on http://sourceforge.net/projects/tmux/files/latest/download?source=files
BYOBU='5.101'
# Check for last version on https://launchpad.net/byobu/+download
wget https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/$LIBEVENT.tar.gz
tar xzvf $LIBEVENT.tar.gz
cd $LIBEVENT
./configure && make
sudo make install
cd ..
rm $LIBEVENT.tar.gz
sudo rm -rf $LIBEVENT
wget -O $TMUX.tar.gz http://downloads.sourceforge.net/project/tmux/tmux/$TMUX/$TMUX.tar.gz?r=&ts=1454356215&use_mirror=skylink
tar xzvf $TMUX.tar.gz
cd $TMUX
LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local
make
sudo make install
cd ..
rm $TMUX.tar.gz
sudo rm -rf $TMUX
wget https://launchpad.net/byobu/trunk/$BYOBU/+download/byobu_$BYOBU.orig.tar.gz
tar xzvf byobu_$BYOBU.orig.tar.gz
cd byobu-$BYOBU
./configure && make
sudo make install
cd ..
rm byobu_$BYOBU.orig.tar.gz
sudo rm -rf byobu-$BYOBU
byobu-select-backend # choice tmux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment