#!/bin/bash | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
TMUX_VERSION=1.8 | |
# create our directories | |
mkdir -p $HOME/local $HOME/tmux_tmp | |
cd $HOME/tmux_tmp | |
# download source files for tmux, libevent, and ncurses | |
wget -O tmux-${TMUX_VERSION}.tar.gz http://sourceforge.net/projects/tmux/files/tmux/tmux-${TMUX_VERSION}/tmux-${TMUX_VERSION}.tar.gz/download | |
wget https://github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz | |
wget ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.9.tar.gz | |
# extract files, configure, and compile | |
############ | |
# libevent # | |
############ | |
tar xvzf libevent-2.0.19-stable.tar.gz | |
cd libevent-2.0.19-stable | |
./configure --prefix=$HOME/local --disable-shared | |
make | |
make install | |
cd .. | |
############ | |
# ncurses # | |
############ | |
tar xvzf ncurses-5.9.tar.gz | |
cd ncurses-5.9 | |
./configure --prefix=$HOME/local | |
make | |
make install | |
cd .. | |
############ | |
# tmux # | |
############ | |
tar xvzf tmux-${TMUX_VERSION}.tar.gz | |
cd tmux-${TMUX_VERSION} | |
./configure CFLAGS="-I$HOME/local/include -I$HOME/local/include/ncurses" LDFLAGS="-L$HOME/local/lib -L$HOME/local/include/ncurses -L$HOME/local/include" | |
CPPFLAGS="-I$HOME/local/include -I$HOME/local/include/ncurses" LDFLAGS="-static -L$HOME/local/include -L$HOME/local/include/ncurses -L$HOME/local/lib" make | |
cp tmux $HOME/local/bin | |
cd .. | |
# cleanup | |
rm -rf $HOME/tmux_tmp | |
echo "$HOME/local/bin/tmux is now available. You can optionally add $HOME/local/bin to your PATH." |
This comment has been minimized.
This comment has been minimized.
prinny
commented
Jan 11, 2013
Thank you! This worked perfectly for me. |
This comment has been minimized.
This comment has been minimized.
jeffdonahue
commented
Feb 10, 2013
Thanks so much, installed perfectly right out of the box. I hate having to figure out what libraries I need and where to get them for local installs, this saved me probably hours of pain (or from just continuing to use screen on machines I don't have root access for)... |
This comment has been minimized.
This comment has been minimized.
haridsv
commented
Feb 26, 2013
I modified it to link statically and the resultant binary worked on a different system with different libc: https://gist.github.com/haridsv/5040047 |
This comment has been minimized.
This comment has been minimized.
shime
commented
Jun 4, 2013
Thanks! Forked this and made it more customizable, updated versions of installed components and provided auto-install command. Check it out at https://gist.github.com/shime/5706655. |
This comment has been minimized.
This comment has been minimized.
gundamew
commented
Aug 8, 2013
Thank you for this script. Clearly and really helped. |
This comment has been minimized.
This comment has been minimized.
ZeroDragon
commented
Sep 25, 2013
Worked on BLUEHOST.com just FYI |
This comment has been minimized.
This comment has been minimized.
matschaffer
commented
Sep 25, 2013
Oh man, thanks for this. So much time savings. |
This comment has been minimized.
This comment has been minimized.
hv15
commented
Dec 2, 2013
Thanks :) |
This comment has been minimized.
This comment has been minimized.
SteveLTN
commented
Dec 5, 2013
Thank you so much! I got an ssh account to a cluster from my university, but it doesn't have Tmux installed. Now with your script, my life is much easier! |
This comment has been minimized.
This comment has been minimized.
bodypheo
commented
Dec 11, 2013
You are a king among men. ;) Kudos to you- |
This comment has been minimized.
This comment has been minimized.
jfmercer
commented
Feb 17, 2014
Many, many, many thanks for this. |
This comment has been minimized.
This comment has been minimized.
joshterrell805
commented
Mar 4, 2014
Brilliant! thank you |
This comment has been minimized.
This comment has been minimized.
WillXu
commented
Mar 5, 2014
so brilliant! |
This comment has been minimized.
This comment has been minimized.
zephraph
commented
Mar 5, 2014
Fantastic, thanks! |
This comment has been minimized.
This comment has been minimized.
jingz
commented
May 7, 2014
awesome thanks! |
This comment has been minimized.
This comment has been minimized.
ghost
commented
Jun 1, 2014
Thanks! Cannot stand screen. Now to waste some hours trying to understand why what I tried failed... |
This comment has been minimized.
This comment has been minimized.
pedrormjunior
commented
Jun 2, 2014
Thanks! |
This comment has been minimized.
This comment has been minimized.
andrewdalecramer
commented
Jun 9, 2014
At the risk of repeated others, thanks so much for this! I've used it as a base to install Vim and tig as well. For the life of me couldn't figure out how to do it before now! |
This comment has been minimized.
This comment has been minimized.
luyifan
commented
Jul 15, 2014
thanks |
This comment has been minimized.
This comment has been minimized.
dan-sf
commented
Aug 10, 2014
This is awesome, thanks so much! We only have screen at work so getting tmux was a must. |
This comment has been minimized.
This comment has been minimized.
jiacai2050
commented
Oct 23, 2014
I met a problem when exec --2014-10-23 11:08:44-- https://github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz my os is centos6.5 64bit |
This comment has been minimized.
This comment has been minimized.
bouthilx
commented
Nov 2, 2014
I had the same problem. I manually downloaded libevent-2.0.19-stable.tar.gz and then everything worked fine. |
This comment has been minimized.
This comment has been minimized.
chu-NMSU
commented
Nov 3, 2014
Thanks. |
This comment has been minimized.
This comment has been minimized.
mnsmar
commented
Dec 16, 2014
Got the following error: Had to: |
This comment has been minimized.
This comment has been minimized.
aarobc
commented
Jan 10, 2015
@jiacai2050 change the |
This comment has been minimized.
This comment has been minimized.
pictodroid
commented
Jan 24, 2015
with curl -L -O I'm getting error SSL routines: SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure |
This comment has been minimized.
This comment has been minimized.
Silox
commented
Feb 24, 2015
|
This comment has been minimized.
This comment has been minimized.
texzhichen
commented
Feb 28, 2015
Very useful shell script, thank you! |
This comment has been minimized.
This comment has been minimized.
ghost
commented
Mar 15, 2015
Excellent, thank you! |
This comment has been minimized.
This comment has been minimized.
calebjones
commented
Apr 13, 2015
Works great! |
This comment has been minimized.
This comment has been minimized.
ysangkok
commented
Apr 16, 2015
Shouldn't it be |
This comment has been minimized.
This comment has been minimized.
partoneoftwo
commented
Jun 23, 2015
This worked perfectly on Inmotion.com shared server. |
This comment has been minimized.
This comment has been minimized.
bmyerz
commented
Jul 23, 2015
thanks |
This comment has been minimized.
This comment has been minimized.
bmyerz
commented
Jul 23, 2015
thanks, worked on redhat 4.4 fine |
This comment has been minimized.
This comment has been minimized.
javier-lopez
commented
Jul 26, 2015
Other alternative could be to fetch the static binary with static-get, no compiler required =)
To list all available versions: sh <(wget -qO- s.minos.io/s) -s -v tmux |
This comment has been minimized.
This comment has been minimized.
javier-lopez
commented
Jul 26, 2015
Other alternative could be to fetch the static binary with static-get, no compiler required =)
To list all available versions: sh <(wget -qO- http://s.minos.io/s) -s -v tmux |
This comment has been minimized.
This comment has been minimized.
javier-lopez
commented
Jul 26, 2015
Other alternative could be to fetch the static binary with static-get, no compiler required =)
To list all available versions: sh <(wget -qO- http://s.minos.io/s) -s -v tmux |
This comment has been minimized.
This comment has been minimized.
javier-lopez
commented
Jul 26, 2015
Other alternative could be to fetch the static binary with static-get, no compiler required =) sh <(wget -qO- http://s.minos.io/s) -x tmux-2.0 To list all available versions: sh <(wget -qO- http://s.minos.io/s) -v -s tmux |
This comment has been minimized.
This comment has been minimized.
kedare
commented
Aug 28, 2015
The WGET SSL error is due to an old version of wget not supporting SNI, just replace the line that download libevent source by this one :
|
This comment has been minimized.
This comment has been minimized.
KDGNOR
commented
Aug 29, 2015
mathieupoussin thx u fix ssl error i got |
This comment has been minimized.
This comment has been minimized.
luiarthur
commented
Sep 25, 2015
This is great! |
This comment has been minimized.
This comment has been minimized.
jealie
commented
Jan 21, 2016
Awesome script! I forked it to use automatically the latest version of tmux (currently version 2.1) from the github repo: https://github.com/jealie/install_tmux This version relies on |
This comment has been minimized.
This comment has been minimized.
ycmjason
commented
Feb 24, 2016
Amazing script! |
This comment has been minimized.
This comment has been minimized.
nemami
commented
Mar 9, 2016
Nice! |
This comment has been minimized.
This comment has been minimized.
kramer33
commented
Mar 18, 2016
Thanks, great work! |
This comment has been minimized.
This comment has been minimized.
GuruKyuu
commented
Apr 14, 2016
I'm getting 404 errors when trying to wget the tmux tarball. Does this need to be updated? SourceForge doesn't seem to have tmux version 2.2. |
This comment has been minimized.
This comment has been minimized.
vzhong
commented
Apr 25, 2016
For version 2.2:
|
This comment has been minimized.
This comment has been minimized.
gut
commented
Apr 27, 2016
nice! Thanks. Also for version 2.2! |
This comment has been minimized.
This comment has been minimized.
xapple
commented
May 4, 2016
•
I just tried this script with version 2.2 on a fresh linux install (apricityos) and got this error:
|
This comment has been minimized.
This comment has been minimized.
xapple
commented
May 4, 2016
•
I managed to compile
Is there any way to change the compilation to include these libraries ? |
This comment has been minimized.
This comment has been minimized.
xapple
commented
May 5, 2016
If anyone comes looking for it, this is the script that was able to install the latest version of tmux:
|
This comment has been minimized.
This comment has been minimized.
cgungor
commented
May 26, 2016
With the latest script in the comment, I had the following compiler error. Any ideas? cc -DPACKAGE_NAME="tmux" -DPACKAGE_TARNAME="tmux" -DPACKAGE_VERSION="2.2" -DPACKAGE_STRING="tmux\ 2.2" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="tmux" -DVERSION="2.2" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_PTY_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_DIRFD=1 -DHAVE_FLOCK=1 -DHAVE_SYSCONF=1 -DHAVE_CFMAKERAW=1 -DHAVE_B64_NTOP=1 -DHAVE_FORKPTY=1 -DHAVE_DAEMON=1 -DHAVE_SETENV=1 -DHAVE_ASPRINTF=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_CFMAKERAW=1 -DHAVE_OPENAT=1 -DHAVE_DECL_OPTARG=1 -DHAVE_DECL_OPTIND=1 -DHAVE_DECL_OPTRESET=0 -DHAVE_BSD_TYPES=1 -DHAVE___PROGNAME=1 -DHAVE_PROC_PID=1 -I. -I/usr/include/ncursesw -DTMUX_CONF=""/etc/tmux.conf"" -iquote. -I/home/phd/e1696798/programs/libevent/include -I/home/phd/e1696798/programs/ncurses/include/ncurses -D_GNU_SOURCE -std=gnu99 -O2 -MT tty-term.o -MD -MP -MF $depbase.Tpo -c -o tty-term.o tty-term.c && |
This comment has been minimized.
This comment has been minimized.
pmirajkar
commented
Jul 20, 2016
Thank you very much! Really clean script with everything in one place! |
This comment has been minimized.
This comment has been minimized.
landge
commented
Sep 27, 2016
Thank you! This worked great for me!! |
This comment has been minimized.
This comment has been minimized.
bad884
commented
Dec 13, 2016
Thank you! |
This comment has been minimized.
This comment has been minimized.
thinki
commented
Jan 9, 2017
xapple's script miss some include directory, script below works OK for me:
|
This comment has been minimized.
This comment has been minimized.
WesternRanger
commented
Feb 8, 2017
Thanks for your share!!! but the source files for tmux could be changed. I take a long time to find the solution:
use above addr instead. good luck! |
This comment has been minimized.
This comment has been minimized.
elfosardo
commented
Feb 15, 2017
great script, thanks! |
This comment has been minimized.
This comment has been minimized.
annawoodard
commented
Mar 23, 2017
Great script, thanks! |
This comment has been minimized.
This comment has been minimized.
Kobtul
commented
Apr 7, 2017
Really thanks! I needed to adjust the wgets for the new version but it is working now |
This comment has been minimized.
This comment has been minimized.
crobicha
commented
Apr 7, 2017
•
Updated to latest version (2.3) and using github instead of sourceforge - https://gist.github.com/crobicha/f99b5f626c47473a184003ae1fc597d4 I would create a pull-request but it seems like that's only a git concept, not in gist? |
This comment has been minimized.
This comment has been minimized.
smilesun
commented
Apr 20, 2017
I met the following problem when make ncurses
|
This comment has been minimized.
This comment has been minimized.
biokay
commented
Apr 21, 2017
awesome~ |
This comment has been minimized.
This comment has been minimized.
dexhunter
commented
Apr 21, 2017
Just removed the last three backquote from the above script and finally works fine without thinking. # Exit on error #
set -e
# Clean up #
rm -rf ~/tools/programs/libevent
rm -rf ~/tools/programs/ncurses
rm -rf ~/tools/programs/tmux
# Variable version #
TMUX_VERSION=2.2
# Create our directories #
mkdir -p ~/tools/test
mkdir -p ~/tools/programs/libevent
mkdir -p ~/tools/programs/ncurses
mkdir -p ~/tools/programs/tmux
############
# libevent #
############
cd ~/tools/test
wget https://github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz
tar xvzf libevent-2.0.19-stable.tar.gz
cd libevent-*/
./configure --prefix=$HOME/tools/programs/libevent --disable-shared
make
make install
############
# ncurses #
############
cd ~/tools/test
wget ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.9.tar.gz
tar xvzf ncurses-5.9.tar.gz
cd ncurses-5.9
./configure --prefix=$HOME/tools/programs/ncurses LDFLAGS="-static"
make
make install
############
# tmux #
############
cd ~/tools/test
wget -O tmux-${TMUX_VERSION}.tar.gz https://github.com/tmux/tmux/releases/download/${TMUX_VERSION}/tmux-${TMUX_VERSION}.tar.gz
tar xvzf tmux-${TMUX_VERSION}.tar.gz
cd tmux-${TMUX_VERSION}
# open configure and find the line that says:
# PKG_CONFIG="pkg-config --static"
# And comment it out:
# #PKG_CONFIG="pkg-config --static"
# Build #
./configure --prefix=$HOME/tools/programs/tmux --enable-static CFLAGS="-I$HOME/tools/programs/libevent/include -I$HOME/tools/programs/ncurses/include/ncurses -I$HOME/tools/programs/ncurses/include/" LDFLAGS="-static -L$HOME/tools/programs/libevent/lib -L$HOME/tools/programs/libevent/include -L$HOME/tools/programs/ncurses/lib -L$HOME/tools/programs/ncurses/include/ncurses" PKG_CONFIG=/bin/false
CPPFLAGS="-I$HOME/tools/programs/libevent/include -I$HOME/tools/programs/ncurses/include/ncurses" LDFLAGS="-static -L$HOME/tools/programs/libevent/lib -L$HOME/tools/programs/libevent/include -L$HOME/tools/programs/ncurses/lib -L$HOME/tools/programs/ncurses/include/ncurses" make
# Move #
cp tmux ~/bin/tmux |
This comment has been minimized.
This comment has been minimized.
MeteoBoy4
commented
May 31, 2017
•
Thanks a lot for your codes! I would like to ask why sometimes there is 'prefix' when configure tmux and sometimes not? If not, where do we indicate tmux should be installed? And why there are two LDFLAGS (almost the same) when configuring tmux? @dexhunter @thinki @xapple @ryin @crobicha |
This comment has been minimized.
This comment has been minimized.
iyll
commented
Aug 29, 2017
•
Thank you for your script, it helps me a lot. However, it must be better to update download link of latest sources of tmux, ncurses and libevent. I replace them in "# download source files for tmux, libevent, and ncurses" section by the following:
and tmux version should be changed firstly: |
This comment has been minimized.
This comment has been minimized.
yogeshpv
commented
Sep 1, 2017
Edited the script to have right folder path, based on @ZhouYL0213 comment,
|
This comment has been minimized.
This comment has been minimized.
junieroliva
commented
Sep 5, 2017
@smilesun run |
This comment has been minimized.
This comment has been minimized.
dajuno
commented
Sep 20, 2017
•
I have trouble with configuring tmux: libevent is not found. Executing the above scripts gives: ... edit: the LDFLAGS was missing $HOME/local/lib64 for libevent. adding -L$HOME/local/lib64 to LDFLAGS in the tmux ./configure and make calls fixed this. |
This comment has been minimized.
This comment has been minimized.
eva-n27
commented
Oct 11, 2017
I use script of @yogeshpv, and it works now. |
This comment has been minimized.
This comment has been minimized.
thinki
commented
Oct 16, 2017
@smilesun Modify ncurses source code as below:
|
This comment has been minimized.
This comment has been minimized.
parth126
commented
Jan 31, 2018
Thanks a lot mate. You are a life saver. |
This comment has been minimized.
This comment has been minimized.
derwentx
commented
Feb 9, 2018
•
Hey there, I tried to run this but |
This comment has been minimized.
This comment has been minimized.
mukahraman
commented
Mar 17, 2018
Just updated the links and it is working perfectly. Thanks a lot for saving a lot of my time! |
This comment has been minimized.
This comment has been minimized.
hmm34
commented
Mar 29, 2018
I used the solution in @yogeshpv 's comment. It worked with only one modification: cd to new version of ncurses (as of right now it is ncurses-6.1). Thanks! |
This comment has been minimized.
This comment has been minimized.
congyh
commented
Jun 12, 2018
Thank you so much! |
This comment has been minimized.
This comment has been minimized.
YoungForest
commented
Jul 1, 2018
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=2.5
# create our directories
mkdir -p $HOME/local $HOME/tmux_tmp
cd $HOME/tmux_tmp
# download source files for tmux, libevent, and ncurses
wget -O tmux-${TMUX_VERSION}.tar.gz https://github.com/tmux/tmux/releases/download/${TMUX_VERSION}/tmux-${TMUX_VERSION}.tar.gz
wget https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
wget http://invisible-island.net/datafiles/release/ncurses.tar.gz
# extract files, configure, and compile
############
# libevent #
############
tar xvzf libevent-2.1.8-stable.tar.gz
cd libevent-2.1.8-stable
./configure --prefix=$HOME/local --disable-shared
make
make install
cd ..
############
# ncurses #
############
tar xvzf ncurses.tar.gz
cd ncurses-6.1
./configure --prefix=$HOME/local
make
make install
cd ..
############
# tmux #
############
tar xvzf tmux-${TMUX_VERSION}.tar.gz
cd tmux-${TMUX_VERSION}
./configure CFLAGS="-I$HOME/local/include -I$HOME/local/include/ncurses" LDFLAGS="-L$HOME/local/lib -L$HOME/local/include/ncurses -L$HOME/local/include"
CPPFLAGS="-I$HOME/local/include -I$HOME/local/include/ncurses" LDFLAGS="-static -L$HOME/local/include -L$HOME/local/include/ncurses -L$HOME/local/lib" make
cp tmux $HOME/local/bin
cd ..
# cleanup
rm -rf $HOME/tmux_tmp
echo "$HOME/local/bin/tmux is now available. You can optionally add $HOME/local/bin to your PATH." |
This comment has been minimized.
This comment has been minimized.
musically-ut
commented
Aug 16, 2018
•
The links to Have fixed them (i.e. hardcoded) to the correct filenames. Also, bumped
|
This comment has been minimized.
This comment has been minimized.
danellecline
commented
Sep 5, 2018
Thanks @musically-ut . Your fixes worked for me. |
This comment has been minimized.
This comment has been minimized.
jdhao
commented
Oct 25, 2018
@musically-ut, I see that you put some include dir for |
This comment has been minimized.
This comment has been minimized.
Wario7
commented
Nov 7, 2018
@musically-ut script works. Thanks a lot! |
This comment has been minimized.
This comment has been minimized.
StevenShi-23
commented
Nov 12, 2018
To use the latest tmux release v2.8, the following works for me (notice you need to do #!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=2.8
# create our directories
mkdir -p $HOME/local $HOME/tmux_tmp
cd $HOME/tmux_tmp
# download source files for tmux, libevent, and ncurses
wget -O tmux-${TMUX_VERSION}.tar.gz https://github.com/tmux/tmux/archive/${TMUX_VERSION}.tar.gz
wget https://github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz
wget ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.9.tar.gz
# extract files, configure, and compile
############
# libevent #
############
tar xvzf libevent-2.0.19-stable.tar.gz
cd libevent-2.0.19-stable
./configure --prefix=$HOME/local --disable-shared
make -j
make install
cd ..
############
# ncurses #
############
tar xvzf ncurses-5.9.tar.gz
cd ncurses-5.9
./configure --prefix=$HOME/local
make -j
make install
cd ..
############
# tmux #
############
tar xvzf tmux-${TMUX_VERSION}.tar.gz
cd tmux-${TMUX_VERSION}
./autogen.sh
./configure CFLAGS="-I$HOME/local/include -I$HOME/local/include/ncurses" LDFLAGS="-L$HOME/local/lib -L$HOME/local/include/ncurses -L$HOME/local/include"
CPPFLAGS="-I$HOME/local/include -I$HOME/local/include/ncurses" LDFLAGS="-static -L$HOME/local/include -L$HOME/local/include/ncurses -L$HOME/local/lib" make
cp tmux $HOME/local/bin
cd ..
# cleanup
rm -rf $HOME/tmux_tmp
echo "$HOME/local/bin/tmux is now available. You can optionally add $HOME/local/bin to your PATH." |
This comment has been minimized.
This comment has been minimized.
JoyHuYY1412
commented
Dec 27, 2018
Everything is right But when I run |
This comment has been minimized.
This comment has been minimized.
todeschini-felipe
commented
Jan 8, 2019
•
@StevenShi-23 script is breaking in with I am using CentOS 6.10. Any ideas? |
This comment has been minimized.
This comment has been minimized.
amlestin
commented
Jan 15, 2019
•
Thanks for the help. This worked for me on Red Hat Enterprise Linux Server release 6.9 (Santiago). My ~/.bashrc also contains export PATH="$PATH:$HOME/local/bin" to make tmux accessible everywhere. |
This comment has been minimized.
This comment has been minimized.
hypan599
commented
Jan 17, 2019
Just updated links of latest tmux and it worked perfectly. Thanks! |
This comment has been minimized.
This comment has been minimized.
zeeshansayyed
commented
Feb 13, 2019
Thank you @mnsmar |
This comment has been minimized.
This comment has been minimized.
hoosierEE
commented
Mar 31, 2019
The above from @StevenShi-23 and @amlestin (including the part about adding to $PATH) worked for me on Centos 7.6. Thanks! |
This comment has been minimized.
This comment has been minimized.
acanakoglu
commented
May 1, 2019
I updated for 2.9a.
|
This comment has been minimized.
This comment has been minimized.
flakrat
commented
Nov 4, 2019
Curious, why not use Not a big difference, but you are missing the man page: make[1]: Entering directory `/home/flakrat/sources/tmux-2.9a'
/usr/bin/mkdir -p '/home/flakrat/local/bin'
/usr/bin/install -c tmux '/home/flakrat/local/bin'
make install-exec-hook
make[2]: Entering directory `/home/flakrat/sources/tmux-2.9a'
if test xmdoc = xmdoc; then \
sed -e "s|@SYSCONFDIR@|/etc|g" ./tmux.1 \
>./tmux.1.mdoc; \
else \
sed -e "s|@SYSCONFDIR@|/etc|g" ./tmux.1| \
gawk -f ./mdoc2man.awk >./tmux.1.man; \
fi
/usr/bin/mkdir -p /home/flakrat/local/share/man/man1
/usr/bin/install -c -m 644 ./tmux.1.mdoc \
/home/flakrat/local/share/man/man1/tmux.1 |
This comment has been minimized.
adibis commentedNov 29, 2012
Oh - thank you, thank you, thank you. They only had screen at work. Now I can use tmux and be happy :)