Skip to content

Instantly share code, notes, and snippets.

@nik-garg
Created May 11, 2020 20:30
Show Gist options
  • Save nik-garg/1cf8cb96618bc8290ea23f664303160f to your computer and use it in GitHub Desktop.
Save nik-garg/1cf8cb96618bc8290ea23f664303160f to your computer and use it in GitHub Desktop.
Tmux update script
#!/usr/bin/env bash
sudo apt update
sudo apt install -y git
sudo apt install -y automake
sudo apt install -y bison
sudo apt install -y build-essential
sudo apt install -y pkg-config
sudo apt install -y libevent-dev
sudo apt install -y libncurses5-dev
rm -fr /tmp/tmux
git clone https://github.com/tmux/tmux.git /tmp/tmux
cd /tmp/tmux
git checkout master
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