컴퓨터 관련.../Programing
Steps to install tmux
김동훈
2014. 1. 5. 15:05
- Install libevent
- browse http://libevent.org and download the latest version of libevent.
- tar zxf libevent.tar.gz
- cd libevent
- ./configure --prefix=/usr/local
- make && make install
- Install ncurses
- browse http://ftp.gnu.org/gnu/ncurses and download the latest version of ncurses.
- tar zxf ncurses.tar.gz
- cd ncurses
- ./configure --prefix=/usr/local
- make && make install
- Install tmux
- Cygwin :
- install autoconf, automake, and pkg-config to cygwin if not.
- git clone http://git.code.sf.net/p/tmux/tmux-code tmux-tmux-code
- cd tmux-tmux-code
- ./autogen.sh (will see many warnings; if it complains about \r not found, convert autogen.sh to use Unix line endings with mv autogen.sh temp.sh; dos2unix -o autogen.sh temp.sh)
- run "./configure --prefix=/usr/local" if failed to make Makefile
- CFLAGS="-I/usr/local/include/ncurses" ./configure --prefix=/usr/local
- make && make install
- Linux or Unix :
- browse http://tmux.sourceforge.net and download the latest version of tmux.
- tar zxf tmux.tar.gz
- cd tmux
- CFLAGS="-I/usr/local/include -I/usr/local/include/ncurses"
- LDFLAGS="-L/usr/local/lib"
- ./configure --prefix=/usr/local
- make && make install
- Configure tmux
- to use the Solarized color scheme, see here.
- to manually adjust colors, fonts, cursor shape, and more right-click the window title bar and select "Options...".
- create a .tmux.conf file include at least this line so the mouse and arrow keys can be used to switch panes:
set -sg escape-time 250
- for more information about tmux configuration, see here.