# Install tmux on Centos release 6.5 | |
# install deps | |
yum install gcc kernel-devel make ncurses-devel | |
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
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 --prefix=/usr/local | |
make | |
sudo make install | |
# DOWNLOAD SOURCES FOR TMUX AND MAKE AND INSTALL | |
curl -OL http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz | |
tar -xvzf tmux-1.9a.tar.gz | |
cd tmux-1.9a | |
LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local | |
make | |
sudo make install | |
# pkill tmux | |
# close your terminal window (flushes cached tmux executable) | |
# open new shell and check tmux version | |
tmux -V |
This comment has been minimized.
This comment has been minimized.
This worked great for me on CentOS 6.7. Thanks! |
This comment has been minimized.
This comment has been minimized.
tmux 2.0 released earlier this year. This gist still works, just use this url to download: https://github.com/tmux/tmux/releases/download/2.0/tmux-2.0.tar.gz |
This comment has been minimized.
This comment has been minimized.
Following up on the comment from Caipre, here are the 3 changes to your "DOWNLOAD SOURCES FOR TMUX AND MAKE AND INSTALL" section to use tmux 2.0 curl -OL http://downloads.sourceforge.net/tmux/tmux-2.0.tar.gz Thanks again for the nice script! |
This comment has been minimized.
This comment has been minimized.
Very helpful script. But |
This comment has been minimized.
This comment has been minimized.
FWIW, using the sourceforce tar.gz didn't worked for me, I had to use the github link. Didn't investigate why... |
This comment has been minimized.
This comment has been minimized.
works, thanks |
This comment has been minimized.
This comment has been minimized.
Great! works nicely. |
This comment has been minimized.
This comment has been minimized.
worked for me for Centos 6.7 |
This comment has been minimized.
This comment has been minimized.
Worked for me on Centos 6.7! Thank you! Still works after replaced with the latest version of libevent and tmux: |
This comment has been minimized.
This comment has been minimized.
Works with tmux 2.1 on RHEL 6.6 (just use 2.1 tmux source code). |
This comment has been minimized.
This comment has been minimized.
Thanks! Worked for me using CentOS 6.7 and tmux 2.1, and libevent-2.0.22 (see phub1's comment above) |
This comment has been minimized.
This comment has been minimized.
Wonderful! worked like a charm, thanks a ton :) |
This comment has been minimized.
This comment has been minimized.
work for CentOS 7.0 too =) |
This comment has been minimized.
This comment has been minimized.
Work for CentOS 6.7 Thanks. |
This comment has been minimized.
This comment has been minimized.
Thank you ! It works fine on CentOS release 6.7 |
This comment has been minimized.
This comment has been minimized.
not working for me, i get an error when running LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local
I Also can't run make and i get any ideas ? |
This comment has been minimized.
This comment has been minimized.
It works fine on RHEL 6.5. Thanks. |
This comment has been minimized.
This comment has been minimized.
Updated libevent link for @phub1's comment: |
This comment has been minimized.
This comment has been minimized.
The general steps worked for me on Centos 7.1 using tmux 2.2 |
This comment has been minimized.
This comment has been minimized.
updated to tmux-2.2 and libevent-2.0.22current as of 20160614yum install gcc kernel-devel make ncurses-devel |
This comment has been minimized.
This comment has been minimized.
Thanks a lot, guys! |
This comment has been minimized.
This comment has been minimized.
Thanks Rothgar&Infotek, nicely installed on CentOS 6.8 |
This comment has been minimized.
This comment has been minimized.
Thanks for this script. Saves me the hassle of setting up tmux on each new dev VM that I get to work on. |
This comment has been minimized.
This comment has been minimized.
for the incredibly lazy people
|
This comment has been minimized.
This comment has been minimized.
I tried to follow the updated instructions here and it's not working for me, I get the same output from |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
OH , you are a good man ,Keisuke Emperor. |
This comment has been minimized.
This comment has been minimized.
thinks! |
This comment has been minimized.
This comment has been minimized.
Update for latest (2021) version:
|
This comment has been minimized.
Thank you👍 Saves me having to install another repo just to get tmux.