Created
September 8, 2017 16:14
-
-
Save mshuffett/846412d0b1824b1f92925b9cd0d5e396 to your computer and use it in GitHub Desktop.
Install tmux without root
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
#!/usr/bin/env bash | |
cd /tmp | |
# libevent | |
wget https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz | |
tar xvf libevent-2.1.8-stable.tar.gz | |
cd libevent-2.1.8-stable | |
./configure --prefix=$HOME | |
make -j 8 | |
make install | |
# tmux | |
wget https://github.com/tmux/tmux/releases/download/2.5/tmux-2.5.tar.gz | |
tar xvf tmux-2.5.tar.gz | |
cd tmux-2.5 | |
./configure --prefix=$HOME CFLAGS="-I$HOME/include" LDFLAGS="-L$HOME/lib" | |
make -j 8 | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment