Skip to content

Instantly share code, notes, and snippets.

@rishabhmhjn
Created January 16, 2014 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rishabhmhjn/8449736 to your computer and use it in GitHub Desktop.
Save rishabhmhjn/8449736 to your computer and use it in GitHub Desktop.
Installing tmux for a local user
# Install libevent
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar -zxf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure --prefix=/home/unix_user/usr
make && make install
# Install ncurses
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz
tar -zxf ncurses-5.7.tar.gz
cd ncurses-5.7
./configure --prefix=/home/unix_user/usr
make && make install
# Install ncurses-devel
yum -y install ncurses-devel
# Install tmux
wget http://sourceforge.net/projects/tmux/files/tmux/tmux-1.8/tmux-1.8.tar.gz/download
tar -zxf tmux-1.8.tar.gz
cd tmux-1.8
LIB_DIR=/home/unix_user/usr
./configure --prefix=/home/unix_user/usr CFLAGS="-I$LIB_DIR/include" LDFLAGS="-L$LIB_DIR/lib"
make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment