Last active
September 24, 2021 12:35
-
-
Save j-min/815c566f702d8be0059e30d427a799e3 to your computer and use it in GitHub Desktop.
tmux 2.6 install script (linux)
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
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