Skip to content

Instantly share code, notes, and snippets.

@geolimber
Created December 18, 2019 19:05
Show Gist options
  • Save geolimber/cf6d72f293b1a2128f900e7217096a28 to your computer and use it in GitHub Desktop.
Save geolimber/cf6d72f293b1a2128f900e7217096a28 to your computer and use it in GitHub Desktop.
Install fresh tmux on aws Amazon Linux distribution (EC2)
#!/bin/sh
# Unfortunately on aws Amazon Linux distribution Tmux version is bit outdated (1.8)
# Here is solution how you can get more recent version (3.0a available in dic 2019)
sudo yum install libevent-devel ncurses-devel
wget https://github.com/tmux/tmux/releases/download/3.0a/tmux-3.0a.tar.gz
cd tmux-3.0a/
./configure
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment