Last active
January 26, 2022 21:58
-
-
Save droidlabour/912a3db2606891222a792f280342aedc to your computer and use it in GitHub Desktop.
Install or Upgrade tmux
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
#!/bin/bash | |
# | |
# Install dependencies | |
# | |
sudo yum install -y libevent-devel ncurses-devel gcc make bison pkg-config git | |
# | |
# https://github.com/tmux/tmux/wiki/Installing#from-version-control | |
# | |
git clone https://github.com/tmux/tmux.git | |
cd tmux | |
sh autogen.sh | |
# | |
# --prefix must be set to /usr in order to overwrite | |
# the default tmux v1.8 (installed at /usr/bin) which is around 5year old | |
# | |
./configure --prefix=/usr | |
make && sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment