-
-
Save julianobarbosa/2cd5d04cc4b2b45400a42292d4ca7d8e to your computer and use it in GitHub Desktop.
HOW TO: Install tmux on Centos release 6.5
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 tmux on Centos release 6.5 | |
# http://superuser.com/questions/738829/attempting-to-install-tmux-on-centos-6-4-or-centos-6-5-fails-with-error-evbuff | |
# | |
# READ THIS FIRST!!! | |
# MAKE SURE YOU HAVE BUILD TOOLS/COMPILERS TO BUILD STUFF FROM SOURCES | |
# yum groupinstall "Development Tools" | |
# CD TO TEMPORARY DIRECTORY | |
cd /tmp/sources | |
# INSTALL NCURSES DEVEL | |
yum -y install ncurses-devel | |
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
#### wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
curl -OL 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 | |
# DOWNLOAD SOURCES FOR TMUX AND MAKE AND INSTALL | |
#### wget http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz | |
curl -OL http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz | |
tar -xvzf tmux-1.9a.tar.gz | |
cd tmux-1.9a | |
./configure | |
make | |
make install | |
# SWITCH BACK TO REGULAR USER AND EDIT YOUR BASHRC (OR ZSH CONFIG) | |
echo export LD_LIBRARY_PATH=/usr/local/lib >> ~/.bash_profile | |
. ~/.bash_profile | |
#### source ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment