Windows + Tmux + Cygwin

     很多朋友在Linux下体验到tmux是不是很酷 大笑,有一种黑客的感觉有木有啊,而哪些在windows下使用Cygwin的朋友为难了,tmux只有Linux平台的版本,如何在windows下体验tmux?今天我给大家带来的这篇文章转载于国外开源网站某个黑客的blog,教你如何在Cygwin中安装tmux。接下来体验极客生活吧! 大笑Good afternoon, habr!I densely works for a long time with Linux systems, but as a desktop I prefers Windows. But for comfortable operation sometimes it are necessary to try.

Today I wants will share experience and impressions about that as I trying to find changeover of Tmux under cygwin and as I eventually winning Tmux and compiling it under Cygwin + Windows. To whom it are interesting — I asks under kat.


Requirements to system

I collecting tmux on windows 7 x64 with install Cygwin.x86. On Cygwin.x86_64 to Collect library of libevent it were not possible.
It are necessary to begin with setting  of Cygwin.x86. When setting besides a software necessary for you it are necessary to install:

gcc *, make, autoconf, automake, cmake.

Also it will be necessary to deliver library which tmux demanded:  libncurses10, libncurses-devel, ncurses.

Assembly of libevent

I scooping the information and experience with this  correspondence. But all the same it were necessary to change a little and pokovyryatsya in souce code. I does not want you to load.patch files and superfluous details for whom it are necessary — could compare source codes. I will lay out the ready operating time, it will be necessary for you to collect only. 

One more of necessary dependences of Tmux — are which library  of libevent, unfortunately, are not present in a repository of cygwin. It are necessary for collect with source codes. I using  libevent-2.0.21-stable. We opened Cygwin and we collected:

tar xf libevent-2.0.21-stable.tgz
cd libevent-2.0.21-stable
./configure --libdir=/usr/lib/
make && make install


I asks to pay attention that at configure the parameter of libdir are specif knowingly, and Cygwin badly are on friendly terms with / usr/local/lib.

Assembly of tmux

I laying out the  operating time of Tmux

tar xf tmux-tmux-code.tgz
cd tmux-tmux-code
./configure
make && make install
tmux
echo 'Enjoy!'
Impressions
Worked very quickly and not sboit! In comparison with alternatives such as Byobu and Screen the sky and the earth.
Thanks for attention, I wishes all good week and comfortable working conditions!
  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值