Created
January 29, 2019 01:24
-
-
Save shortword/7500d0af236e4eca4550d1379cfac824 to your computer and use it in GitHub Desktop.
Building tmux on Ubuntu 18.04
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
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