Skip to content

Instantly share code, notes, and snippets.

@rkempter
Forked from arttuladhar/install_ec2.sh
Last active February 16, 2016 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rkempter/09b19c4aa71fb87a18ba to your computer and use it in GitHub Desktop.
Save rkempter/09b19c4aa71fb87a18ba to your computer and use it in GitHub Desktop.
Installing tmux on EC2
# Installing tmux on Amazon-EC2
# If you don't have libevent install use wget to install the libevent and install
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 install
# If you don't have curses install use yum to install the curses
sudo yum install ncurses-devel
# Finally Downlload tmux and Install
wget http://downloads.sourceforge.net/tmux/tmux-1.8.tar.gz
tar zxf tmux-1.8.tar.gz
cd tmux-1.8 && sudo ./configure && sudo make install
# If you see issue like the following, add symbolic link to 64bit user library to fix the issue.
# tmux: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory
sudo ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment