-
-
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)
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-1.9/tmux-1.9a.tar.gz" | |
tar xvfz tmux-1.9a.tar.gz | |
cd tmux-1.9a/ | |
./configure && make | |
sudo make install |
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
Thanks a lot for the script!
Two notes:
Simply purging all libevent related installs solved this.
// Do note, however, that this also uninstalls the NFS sharing services (I do not understand why), so you might have to reconfigure that if you are using it.
Thanks again, my byobu+tmux combo wasn't working very well on an aging Debian system, and now it is just perfect! =)