Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install TMUX on Amazon Linux (EC2)
tar zxf libevent-2.0.18-stable.tar.gz
cd libevent-2.0.18-stable
sudo ./configure
sudo ./make
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
Copy link

bhuber commented Sep 4, 2012

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

Copy link

SeanDunford commented Aug 27, 2014

Agreed ^

Copy link

atoregozh commented Dec 1, 2014

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

Copy link

yashbajaj commented Sep 2, 2015

just do sudo yum install tmux ??

Copy link

sigma23 commented Jul 5, 2016

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

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 -

Copy link

snagargojesg commented Oct 16, 2020

sudo yum install tmux

This worked for me, thanks!

Copy link

ismet55555 commented Apr 5, 2022

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