Skip to content

Instantly share code, notes, and snippets.

@FigmentEngine
Created April 27, 2012 15:54
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save FigmentEngine/2510356 to your computer and use it in GitHub Desktop.
Save FigmentEngine/2510356 to your computer and use it in GitHub Desktop.
Install TMUX on Amazon Linux (EC2)
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
@bhuber
Copy link

bhuber commented Sep 4, 2012

I think line 5 is supposed to be 'sudo make'

@SeanDunford
Copy link

Agreed ^

@atoregozh
Copy link

when I do "sudo make" I get "No targets specified and no makefile found. Stop.". is that what's supposed to happen?

@yashbajaj
Copy link

just do sudo yum install tmux ??

@sigma23
Copy link

sigma23 commented Jul 5, 2016

I think at this point "sudo yum install tmux" will do it!

@humblepie
Copy link

humblepie commented Feb 18, 2018

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

@snagargojesg
Copy link

sudo yum install tmux

This worked for me, thanks!

@ismet55555
Copy link

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