Skip to content

Instantly share code, notes, and snippets.

@shortword
Created January 29, 2019 01:24
Show Gist options
  • Save shortword/7500d0af236e4eca4550d1379cfac824 to your computer and use it in GitHub Desktop.
Save shortword/7500d0af236e4eca4550d1379cfac824 to your computer and use it in GitHub Desktop.
Building tmux on Ubuntu 18.04
sudo apt install build-essential libevent-dev libncurses5-dev autoconf git
git clone https://github.com/tmux/tmux.git
cd tmux
git checkout 2.8 # Always check for newer versions
sh autogen.sh
# NOTE: The prefixes used here are under ~/local; e.g. ~/local/src, ~/local/bin
# Many people simply have their PREFIX under $HOME
./configure --prefix=$HOME/local
make -j`nproc` # -j`nproc` parallelizes the build; omit for compatibility but slower build
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment