Prerequisites#

First see Install Libevent in Userspace.

Compile#

Configure#

$ cd ~/downloads
$ tar xvfz tmux-1.4.tar.gz
$ cd tmux-1.4
$ ./configure

Build#

$ export PATH=~/local/bin:$PATH
$ export LD_LIBRARY_PATH=~/local/lib:$LD_LIBRARY_PATH
$ LDFLAGS+=" -L/home/username/local/lib" \
	CPPFLAGS+=" -I/home/username/local/include" \
	PREFIX="/home/username/local" make
$ LDFLAGS+=" -L/home/username/local/lib" \
	CPPFLAGS+=" -I/home/username/local/include" \
	PREFIX="/home/username/local" make install

System Config#

.bashrc#

Add

export PATH=$PATH:~/local/bin
export LD_LIBRARY_PATH:~/local/lib

Summary#

You now have tmux installed fully w/o the need for root.


CategoryComputing.Shell.TerminalMultiplexer - CategoryFixme