How can I Install Tmux in Cygwin?

Solution 1:

This may be of interest to you: tmux has been released as a cygwin package just recently!

Please have a look at the announcement at on the Cygwin-Announce mailing list; you can now simply install tmux with the common cygwin setup-{x86|x64}.exe.

Solution 2:

I just had exactly the same issue.

I solved it by editing tty-term.c. Search for 'cur_term' and comment out the line.

It compiled fine after that. Not sure if there are any downsides to this. Haven't seen any yet!

Solution 3:

# download file on your machine:   
wget raw.github.com/transcode-open/apt-cyg/master/apt-cyg 

# change permissions to execute file in cygwin
chmod +x apt-cyg
 
# Install script to the /bin folder where - it will make the script available by name  
mv apt-cyg /bin

# Example: you can install something, similar as you can do it on Debian. # See how to install tmux:
apt-cyg install tmux 

apt-cyg - supports more options:

list | cache | remove | depends | listall | download | listfiles |
show | mirror | search | install | category | rdepends | searchall