Skip to content

Instantly share code, notes, and snippets.

@j-min j-min/tmux_install.sh
Last active Nov 10, 2017

Embed
What would you like to do?
tmux 2.6 install script (linux)
TMUX_VERSION=2.6
cd $HOME
# Dependencies
sudo apt install libevent-dev ncurses-dev -y
# Download tmux
wget https://github.com/tmux/tmux/releases/download/$TMUX_VERSION/tmux-$TMUX_VERSION.tar.gz
tar -xvzf tmux-$TMUX_VERSION.tar.gz
# Install tmux
cd tmux-$TMUX_VERSION
./configure && make
sudo make install
# Copy tmux into executable path
# if root => cp tmux /usr/local/bin
# if local => cp tmux $HOME/local/bin
# Remove tarball and directory
# rm -rf $HOME/tmux-$TMUX_VERSION tmux-$TMUX_VERSION.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.