Created
January 16, 2014 04:20
-
-
Save rishabhmhjn/8449736 to your computer and use it in GitHub Desktop.
Installing tmux for a local user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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