Tmux installation on CentOS
Install libevent which is a pre-req for tmux installation
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
sudo tar xzvf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
sudo ./configure && make
sudo make install
2. Now install tmux by downloading from http://tmux.sourceforge.net/
sudo tar xzvf tmux-1.8.tar.gz
cd tmux-1.8
sudo ./configure && make
sudo make install
3. Confirm tmux installation like so -
whereis tmux
4. If you get the following error after installation -
tmux: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory
Solution:
sudo vi ~/.bashrc
Append
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/usr/local/lib"
source ~/.bashrc
Ref: http://superuser.com/questions/324613/installing-a-library-locally-in-home-directory-but-program-doesnt-recognize-it














