Skip to content

Instantly share code, notes, and snippets.

@dbonates
Created May 30, 2019 02:15
Show Gist options
  • Select an option

  • Save dbonates/9c4c11f16005cc68373fcbacfa47b12d to your computer and use it in GitHub Desktop.

Select an option

Save dbonates/9c4c11f16005cc68373fcbacfa47b12d to your computer and use it in GitHub Desktop.
build and install tmux
#!/usr/bin/env bash
sudo apt update
#sudo apt install -y git
sudo apt install -y automake
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
# for macOS usually these commands are needed once inside the source dir
./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