Yes, it is possible, I do this all the time.

Things are different depending on whether you have libevent on the
system already or you need to install it yourself.

If you have libevent, it is easy to install tmux where you like, just
build it (cd tmux && ./configure && make) then copy the tmux binary to
where you want it.

If you don't have libevent, you will first need to build libevent and
install it locally (eg something like ./configure --prefix=~/local &&
make && make install). Then something like this should work:

cd tmux && ./configure
CPPFLAGS="-I$HOME/local/include" LDFLAGS="-L$HOME/local/include" make
cp tmux ~/local/bin

To run it you'll need to add:

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

To one of your shell startup files and of course do that in any existing
shells.

Or you could make a static build of tmux (add -static to LDFLAGS), then
you don't need to set LD_LIBRARY_PATH.

I don't usually bother to install the man page, it is easy to read if
groff is installed with eg "nroff -mdoc tmux.1|more".



On Fri, Oct 29, 2010 at 06:39:52PM -0700, Vinoth Selvaraj wrote:
>    Hi,
>    I have no root access in my company machine.
>    but I wish to install tmux in my local user directory, in which I have
>    permission
>    Please let me know if it is possible.
>    Thanks,
>    Vinoth

> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev

> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to