-
-
Save pokev25/4b9516d32f4021d945a140df09bf1fde to your computer and use it in GitHub Desktop.
Install tmux 2.8 on centos 7
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 2.8 on Centos | |
# install deps | |
yum install gcc kernel-devel make ncurses-devel | |
# cd src | |
cd /usr/local/src | |
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
curl -LO https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz | |
tar -xf libevent-2.1.8-stable.tar.gz | |
cd libevent-2.1.8-stable | |
./configure --prefix=/usr/local | |
make | |
make install | |
# DOWNLOAD SOURCES FOR TMUX AND MAKE AND INSTALL | |
curl -LO https://github.com/tmux/tmux/releases/download/2.8/tmux-2.8.tar.gz | |
tar -xf tmux-2.8.tar.gz | |
cd tmux-2.8 | |
LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local | |
make | |
make install | |
# pkill tmux | |
# close your terminal window (flushes cached tmux executable) | |
# open new shell and check tmux version | |
tmux -V |
yum install tmux
Thank you!
Install latest tmux(3.x) on centos 7:
yum install http://galaxy4.net/repo/galaxy4-release-7-current.noarch.rpm yum install tmux tmux -V tmux 3.3
problem solved! thx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the easiest way probably directly downloaded the tmux 3,3 package from http://galaxy4.net/repo/RHEL/7/x86_64/tmux-3.3-1.el7.x86_64.rpm use wget. and then use
rpm -ivh tmux
to install it. no yum involved