-
-
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 |
Thanks a lot for the script!
Two notes:
- I tracked down the packages myself as they were not gettable on those links anymore.
- I was scratching my head for a while about an event.h compile error, but it turned out to be a conflict between the already installed libevent I had on Debian 6 and the one installed by this script.
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! =)
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, this works on raspbian wheezy without modification. Just exit your old tmux sessions and launch the new tmux with 'tmux' and thats it