Skip to content

Instantly share code, notes, and snippets.

@niun
Forked from t-cyrill/build-tmux.sh
Last active June 27, 2024 14:08
Show Gist options
  • Save niun/9804349 to your computer and use it in GitHub Desktop.
Save niun/9804349 to your computer and use it in GitHub Desktop.
build tmux 1.9a on debian (tested with raspbian wheezy on a raspberry pi)
#!/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-1.9/tmux-1.9a.tar.gz"
tar xvfz tmux-1.9a.tar.gz
cd tmux-1.9a/
./configure && make
sudo make install
@anttiviljami
Copy link

libncurses-dev doesn't seem to be available for wheezy anymore :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment