Created
April 27, 2012 15:54
-
-
Save FigmentEngine/2510356 to your computer and use it in GitHub Desktop.
Install TMUX on Amazon Linux (EC2)
This file contains hidden or 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
wget https://github.com/downloads/libevent/libevent/libevent-2.0.18-stable.tar.gz | |
tar zxf libevent-2.0.18-stable.tar.gz | |
cd libevent-2.0.18-stable | |
sudo ./configure | |
sudo ./make | |
DIR="/home/ec2-user/downloads/libevent-2.0.18-stable" | |
wget http://downloads.sourceforge.net/tmux/tmux-1.6.tar.gz | |
tar zxf tmux-1.6.tar.gz | |
cd tmux-1.6 | |
sudo make clean | |
sudo ./configure CFLAGS="-I$DIR/include" LDFLAGS="-L$DIR/lib" | |
sudo make | |
sudo ./tmux -V | |
sudo make install |
I think at this point "sudo yum install tmux" will do it!
Unfortunately, latest tmux in amazon repo is 1.8
I got the version 2.6 RPM at this location - https://centos.pkgs.org/7/ius-x86_64/tmux2u-2.6-1.ius.centos7.x86_64.rpm.html
sudo yum install tmux
This worked for me, thanks!
Thanks for the help!
I used it to make a install script that should work with Debian and CentOS based systems:
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just do sudo yum install tmux ??