Skip to content

Instantly share code, notes, and snippets.

@t-oginogin
Created October 22, 2013 02:00
Show Gist options
  • Save t-oginogin/7094089 to your computer and use it in GitHub Desktop.
Save t-oginogin/7094089 to your computer and use it in GitHub Desktop.

tmuxをソースからインストール

libevent のインストール

$ wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
$ tar xvzf libevent-2.0.21-stable.tar.gz
$ cd libevent-2.0.21-stable
$ ./configure
$ make
$ make install

ncursesインストール

$ wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz
$ tar xvzf ncurses-5.7.tar.gz
$ cd ncurses-5.7
$ ./configure --without-cxx-binding
$ make
$ make install

tmuxインストール

$ wget http://sourceforge.net/projects/tmux/files/tmux/tmux-1.8/tmux-1.8.tar.gz/download?use_mirror=jaist
$ tar xvzf tmux-1.8.tar.gz
$ cd tmux-1.8
$ ./configure
$ make
$ make install

$ alias tmux="LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/tmux"
$ tmux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment