Compiling tmux in Ubuntu 14.04
I've recently started using Ubuntu for development work and noticed that after installing tmux from the Ubuntu software repositories (
sudo apt-get install tmux) they currently only contain tmux version 1.8. Unfortunately, this wasn't functioning correctly with some settings in my
~/.tmux.conf file. Therefore I set out to compile the latest 2.0 release from source.
Turns out on my newly installed Ubuntu 14.04 was missing some dependencies:
sudo apt-get install libevent-dev ncurses-dev
Next I simply downloaded the tar, configured and then installed:
cd /usr/local/src wget -O tmux-2.0.tar.gz https://github.com/tmux/tmux/releases/download/2.0/tmux-2.0.tar.gz tar -xvf tmux-2.0.tar.gz ./configure && make sudo make install
Hello tmux 2.0!