Skip to content

Instantly share code, notes, and snippets.

@mzvast
Forked from arttuladhar/install_ec2.sh
Last active August 10, 2016 19:10
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 mzvast/200666d3c822aa1d050268657622a04a to your computer and use it in GitHub Desktop.
Save mzvast/200666d3c822aa1d050268657622a04a to your computer and use it in GitHub Desktop.
Install tmux2 on CentOS 6
# Installing tmux on CentOS 6
# If you don't have libevent install use wget to install the libevent and install
git clone https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz
tar zxf libevent-2.0.22-stable.tar.gz
cd libevent-2.0.22-stable
./configure & make install
# If you don't have curses install use yum to install the curses
yum install ncurses-devel
# Finally Downlload tmux and Install
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure && make
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