Mac安裝wine3.0

說明:如下綠底白字的命令請在系統終端內執行,不能直接訪問github的請自學輕功,有些$$客戶端的全局功能對系統終端無效果。html

1.安裝brew和brew cask
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install caskroom/cask/brew-cask

參考連接:
https://brew.sh/index_zh-cn.htmlgit

2.添加環境變量至~/.bash_profilegithub

export WINEARCH=win32
export WINEDEBUG=-allruby

3.使用brew安裝xquartz、wine、winetricks。bash

brew cask install xquartz brew install wine brew install winetrickscurl

4.使用winecfg初始化~/.wine目錄。字體

winecfgurl

5.使用winetricks添加經常使用組件、文泉驛字體、設置OpenGL。spa

winetricks cmd
winetricks comctl32ocx
winetricks comdlg32ocx
winetricks riched30
winetricks richtx32
winetricks mdac28
winetricks jet40
winetricks mfc42
winetricks msxml6
winetricks vb6run
winetricks vcrun6sp6
winetricks vcrun2003
winetricks vcrun2005
winetricks vcrun2008
winetricks vcrun2012
winetricks vcrun2013
winetricks vcrun2015
winetricks wenquanyi
winetricks fakechinese
winetricks ddr=opengl
winetricks fontsmooth=rgb
xml

備註:安裝comctl32會致使win程序在瀏覽文件夾時崩潰。

參考:

https://wiki.winehq.org/MacOS

https://beginor.github.io/2016/06/30/install-wine-and-winetricks-on-mac.html

相關文章
相關標籤/搜索