Forked from ekiara/how_to_install_tmux_on_centos
Last active
December 11, 2015 06:48
-
-
Save scottames/3f05aafc3a3314e8e8d0 to your computer and use it in GitHub Desktop.
Revisions
-
scottames revised this gist
Dec 11, 2015 . 1 changed file with 35 additions and 24 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,37 +1,48 @@ ## Install tmux on Centos release 6.x ### http://superuser.com/questions/738829/attempting-to-install-tmux-on-centos-6-4-or-centos-6-5-fails-with-error-evbuff # LIBEVENT_URL="https://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.22-stable.tar.gz" TMUX_URL="https://github.com/tmux/tmux/archive/2.1.tar.gz" ## MAKE SURE YOU HAVE BUILD TOOLS/COMPILERS TO BUILD STUFF FROM SOURCES yum -y groupinstall "Development Tools" ## INSTALL NCURSES DEVEL yum -y install ncurses-devel ## create a workspace mkdir tmux_install cd tmux_install ## DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL # wget $LIBEVENT_URL -O libevent.tar.gz curl -L $LIBEVENT_URL -o libevent.tar.gz mkdir libevent tar -xvzf libevent.tar.gz -C libevent --strip-components 1 cd libevent ./configure make make install cd .. ## DOWNLOAD SOURCES FOR TMUX AND MAKE AND INSTALL # wget $TMUX_URL -O tmux.tar.gz curl -L $TMUX_URL -o tmux.tar.gz mkdir tmux tar -xvzf tmux.tar.gz -C tmux --strip-components 1 cd tmux sh autogen.sh ./configure make make install cd ../.. ## Cleanup rm -Rf tmux_install ## Add to bashrc or zshrc exports if ! $(echo $LD_LIBRARY_PATH | grep -q /usr/local/lib); then if [[ -d /usr/local/lib ]]; then export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH fi fi -
ekiara revised this gist
Apr 18, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -33,4 +33,5 @@ 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 -
ekiara revised this gist
Apr 18, 2014 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -23,7 +23,8 @@ 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 @@ -32,4 +33,4 @@ 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 -
ekiara created this gist
Apr 18, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,35 @@ # 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 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