Created
May 28, 2019 16:14
-
-
Save joshgav/9002805f52f66db85deae58b070d4b65 to your computer and use it in GitHub Desktop.
mac app installers
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
# install tmux | |
TMUX_VER=2.9a | |
LIBEVENT_VER=2.1.10 | |
PREFIX=${HOME}/.local | |
# get tmux and libevent | |
curl -LO https://github.com/tmux/tmux/releases/download/${TMUX_VER}/${TMUX_VER}.tar.gz | |
curl -LO https://github.com/libevent/libevent/releases/download/release-${LIBEVENT_VER}-stable/libevent-${LIBEVENT_VER}-stable.tar.gz | |
tar -xzf "./tmux-${TMUX_VER}.tar.gz" | |
tar -xzf "./libevent-${LIBEVENT_VER}-stable.tar.gz" | |
# compile and install libevent | |
cd libevent-${LIBEVENT_VER}-stable | |
./configure --prefix=${PREFIX} | |
make | |
make install | |
# compile and install tmux | |
cd "../tmux-${TMUX_VER}" | |
LDFLAGS="-L${PREFIX}/lib" CPPFLAGS="-I${PREFIX}/include" LIBS="-lresolv" ./configure --prefix=${PREFIX} | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment