Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

@bhuber bhuber commented Sep 4, 2012

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

@SeanDunford

This comment has been minimized.

Copy link

@SeanDunford SeanDunford commented Aug 27, 2014

Agreed ^

@atoregozh

This comment has been minimized.

Copy link

@atoregozh 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?

@yashbajaj

This comment has been minimized.

Copy link

@yashbajaj yashbajaj commented Sep 2, 2015

just do sudo yum install tmux ??

@sigma23

This comment has been minimized.

Copy link

@sigma23 sigma23 commented Jul 5, 2016

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

@humblepie

This comment has been minimized.

Copy link

@humblepie 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

This comment has been minimized.

Copy link

@snagargojesg snagargojesg commented Oct 16, 2020

sudo yum install tmux

This worked for me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment