02-tmux.sh 312 B

12345678910111213141516
  1. #!/bin/env bash
  2. . ./lib/sudo.sh
  3. set -e
  4. sudo apt update
  5. sudo apt install -y libevent-dev pkg-config byacc ncurses-dev
  6. DIR="$HOME/.local/src/tmux"
  7. rm -rf "$DIR"
  8. git clone --depth=1 https://github.com/tmux/tmux.git "$DIR"
  9. pushd "$DIR"
  10. sh autogen.sh
  11. ./configure --prefix="$HOME/.local" && make
  12. make install
  13. popd