Created
May 23, 2015 05:43
-
-
Save VladSem/e706a7755873cccefa8d to your computer and use it in GitHub Desktop.
install tmux 2.0 on Raspberry Pi (Debian 7.8) Raspbian Wheezy
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 | |
wget "https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.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 | |
wget "http://downloads.sourceforge.net/project/tmux/tmux/tmux-2.0/tmux-2.0.tar.gz" | |
tar xvfz tmux-2.0.tar.gz | |
cd tmux-2.0/ | |
./configure && make | |
sudo make install |
Source moved to github, change the wget to
wget "https://github.com/tmux/tmux/archive/2.2.tar.gz"
Tested on 2016-03-18/2016-03-18-raspbian-jessie.zip
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Manually downloading and building libevent is no longer necessary (I'm not sure if it ever was).
Simply install libevent-dev and libncurses5-dev from the package repo (as of 2015-09-28, libevent-dev is version 2.0.5):
sudo apt-get install libevent-dev libncurses5-dev
Then proceed with downloading & building the tmux source as your gist indicates.
I tested this on a Raspberry Pi B+ running Raspbian Wheezy (2015-05-05 release)