windows下安装tmux_如何在Windows下 git bash 环境内使用tmux
生活随笔
收集整理的這篇文章主要介紹了
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 芯片捅破天:联合李书福商
- 下一篇: c++监听键盘_想知道木马程序的键盘记录