Wednesday, December 28, 2016

Install tmux on OS X without Homebrew (Scrap)

from: https://gist.github.com/shrayasr/8714601

# Create a directory
mkdir ~/tmux-install
cd ~/tmux-install

# Get the files
curl -OL http://downloads.sourceforge.net/tmux/tmux-1.5.tar.gz
curl -OL http://downloads.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.16-stable.tar.gz

# Extract them 
tar xzf tmux-1.5.tar.gz
tar xzf libevent-2.0.16-stable.tar.gz

# Compile libevent
cd libevent-2.0.16-stable
./configure --prefix=/opt
make
sudo make install

# Compile tmux
cd ../tmux-1.5
LDFLAGS="-L/opt/lib" CPPFLAGS="-I/opt/include" LIBS="-lresolv" ./configure --prefix=/opt
make
sudo make install

# Link it
ln -s /opt/bin/tmux /usr/bin/tmux

1 comment:

  1. In his assertion to the press this week, Yang stated he expects the three way partnership} to raise RMB 5 billion yuan (US$825 million) from the sale of residential units within the project by the end of this 12 months. There is not yet a clear date for building to start, and the project has yet to achieve authorities approval to start constructing. Landing International which raised HK$1 billion by way of a share sale final month, owned by Yang Zhihui, who additionally be|can be} the controlling shareholder in real estate developer Anhui Landing Holding Group. The restaurant itself is being designed by a Korean firm who works in partnership with a neighborhood architect to create the area. As a staff, they've experience designing hundreds of upscale KBBQ restaurants in the U.S. and South Korea. Mental well being experts stated trading can turn out to be high-stakes playing, 온라인카지노 with little to hold again the dealer when they can trade easily on-line at residence and infrequently on credit.

    ReplyDelete