Created
May 30, 2019 02:15
-
-
Save dbonates/9c4c11f16005cc68373fcbacfa47b12d to your computer and use it in GitHub Desktop.
build and install tmux
This file contains hidden or 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
| #!/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