日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

windows下安装tmux_如何在Windows下 git bash 环境内使用tmux

發布時間:2023/12/19 windows 43 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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 shell
2 - 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的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。