Last active
July 24, 2021 08:54
-
-
Save patrickdappollonio/2d4852f5b6017eee4b208d03ee69b0bd to your computer and use it in GitHub Desktop.
Install tmux 3 from source in Ubuntu
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
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo make install
was the bit I was missing. I kept the tmux repo around for easier updates in the future.