Skip to content

Instantly share code, notes, and snippets.

@patrickdappollonio
Last active July 24, 2021 08:54
Show Gist options
  • Save patrickdappollonio/2d4852f5b6017eee4b208d03ee69b0bd to your computer and use it in GitHub Desktop.
Save patrickdappollonio/2d4852f5b6017eee4b208d03ee69b0bd to your computer and use it in GitHub Desktop.
Install tmux 3 from source in Ubuntu
#!/usr/bin/env bash
sudo apt update && sudo apt install -y git automake build-essential pkg-config libevent-dev libncurses5-dev byacc bison
rm -fr /tmp/tmux
git clone https://github.com/tmux/tmux.git /tmp/tmux
cd /tmp/tmux
git checkout 3.0
sh autogen.sh
./configure && make
sudo make install
cd -
rm -fr /tmp/tmux
@petitJAM
Copy link

sudo make install was the bit I was missing. I kept the tmux repo around for easier updates in the future.

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