Saturday, March 21, 2015

tmux

I hear good things about tmux. I want to try it on CentOS 6.6.

sudo yum install tmux

No package tmux available

Bummer. Let's install it manually :

Login as root

mkdir /tmp/tmuxinstall
cd /tmp/tmuxinstall

wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz

wget -O tmuxsources.tar.gz http://sourceforge.net/projects/tmux/files/latest/download?source=files

tar xvzf libevent-2.0.21-stable.tar.gz

tar xvzf tmuxsources.tar.gz

yum install gcc kernel-devel make ncurses-devel

cd /tmp/tmuxinstall/libevent-2.0.21-stable

./configure --prefix=/usr/local

make && make install


cd /tmp/tmuxinstall/tmux-1.9a

LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local

make && make install

tmux



It should all work now.

You can get a tutorial here



Some explanation of the product here https://en.wikipedia.org/wiki/Tmux



No comments: