当前位置:
首页 >
windows下安装tmux_如何在Windows下 git bash 环境内使用tmux
发布时间:2023/12/19
48
豆豆
生活随笔
收集整理的这篇文章主要介绍了
windows下安装tmux_如何在Windows下 git bash 环境内使用tmux
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
文档日期:2019年11月19日
以下步骤按照如下链接一一实践。https://blog.pjsen.eu/?p=440 。
I did a little research and have found that GIT Bash uses MINGW compilation of GNU tools. It uses only selected ones. You can install the whole distribution of the tools from https://www.msys2.org/ and run a command to installTmux. And then copy some files to installation folder of Git.因为git bash使用的是mingw编译的gnu工具集。所以先要有windows平台下编译好的 tmux 可用才行。这时 msys2 工具派上用场了。
使用msys2的pacman安装 tmux如下:
然后再路径 C:msys64usrbintmux.exe 已经生成。
1 - Install before-mentioned msys2 package and run bash shell2 - Install tmux using the following command: pacman -S tmux
3 - Go to msys2 directory, in my case it is C:msys64usrbin
4 - Copy tmux.exe and msys-event-2-1-4.dll to your Git for Windows directory, mine is C:Program FilesGitusrbin. Please note, that in future, you can see this file with the version number higher than 2-1-4
第四步,是把 tmux.exe 还有 msys-event-2-1-4.dll动态链接库放到git bin目录下即可在git bash上下文调用tmux了。
由于pacman安装的是 libevent-2.1.8-2 tmux-2.9-1。所以最终得到的是 msys-event-2-1-6.dll。不同版本可能有所区别。
最终结果。
执行之后抛出个127是几个意思?先到这里,解决了再来续。
总结
以上是生活随笔为你收集整理的windows下安装tmux_如何在Windows下 git bash 环境内使用tmux的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 魅族天问 S1 芯片捅破天:联合李书福商
- 下一篇: can usb tool下载_N1内置C