mac 下 brew 安装 wine 

1.安装brew自行百度谷歌 (https://brew.sh/index_zh-cn.html)

2.搜索( wine 依赖 xquartz )

vincent$ brew search xquartz

vincent:~ vincent$ brew search xquartz

==> Casks

homebrew/cask/xquartz

3.安装

vincent$ brew install homebrew/cask/xquartz

vincent:~ vincent$ brew install homebrew/cask/xquartz

==> Tapping homebrew/cask

Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'...

remote: Enumerating objects: 4180, done.

remote: Counting objects: 100% (4180/4180), done.

remote: Compressing objects: 100% (4159/4159), done.

remote: Total 4180 (delta 26), reused 760 (delta 18), pack-reused 0

Receiving objects: 100% (4180/4180), 1.33 MiB | 47.00 KiB/s, done.

Resolving deltas: 100% (26/26), done.

Tapped 1 command and 4082 casks (4,190 files, 4.3MB).

==> brew cask install homebrew/cask/xquartz 

==> Satisfying dependencies

==> Downloading https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg

######################################################################## 100.0%

==> Verifying SHA-256 checksum for Cask 'xquartz'.

==> Installing Cask xquartz

==> Running installer for xquartz; your password may be necessary.

==> Package installers may write to any location; options such as --appdir are ignored.

Password:

installer: Package name is XQuartz 2.7.11

installer: Installing at base path /

installer: The install was successful.

?  xquartz was successfully installed!

vincent:~ vincent$ 

 

4.搜索wine

vincent$ brew search wine

vincent:~ vincent$ brew search wine

==> Formulae

twine-pypi                            wine                                  winetricks                            winexe

 

==> Casks

twine                                              wineskin-winery                                    homebrew/cask-versions/wine-staging

wine-stable                                        homebrew/cask-versions/wine-devel

vincent:~ vincent$ 

 

5.安装wine

 vincent$ brew install wine

vincent:~ vincent$ brew install wine

==> Downloading https://homebrew.bintray.com/bottles/wine-3.0.4.sierra.bottle.tar.gz

######################################################################## 100.0%

==> Pouring wine-3.0.4.sierra.bottle.tar.gz

==> Regenerating font cache, this may take a while

==> /usr/local/Cellar/wine/3.0.4/libexec/bin/fc-cache -frv

==> Caveats

You may also want winetricks:

  brew install winetricks

==> Summary

?  /usr/local/Cellar/wine/3.0.4: 8,704 files, 633.5MB

vincent:~ vincent$ 

 

6.安装 mono

vincent$ brew search mono

vincent$ brew install mono

 

vincent:~ vincent$ brew search mono

 

Warning: Error searching on GitHub: curl failed!   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:--  0:00:46 --:--:--     0

curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to api.github.com:443 

 

==> Formulae

libmonome                                mono                                     mono-libgdiplus

 

==> Casks

godot-mono              mono-mdk                monodraw                monogame                monolingual

vincent:~ vincent$ 

vincent:~ vincent$ mono -version

-bash: mono: command not found

vincent:~ vincent$ brew install mono

Updating Homebrew...

==> Downloading https://homebrew.bintray.com/bottles/mono-5.14.0.177.mojave.bottle.tar.gz

######################################################################## 100.0%

==> Pouring mono-5.14.0.177.mojave.bottle.tar.gz

==> Caveats

To use the assemblies from other formulae you need to set:

  export MONO_GAC_PREFIX="/usr/local"

Note that the 'mono' formula now includes F#. If you have

the 'fsharp' formula installed, remove it with 'brew uninstall fsharp'.

==> Summary

?  /usr/local/Cellar/mono/5.14.0.177: 3,542 files, 399MB

vincent:~ vincent$ 

7.完成安装

vincent:~ vincent$ wine --version

wine-3.0.4

vincent:~ vincent$ 

 

 

 

 

 

 

 

--------

 

 

转载于:https://www.cnblogs.com/wobushimashen/p/10108308.html

GitHub 加速计划 / br / brew
40.41 K
9.47 K
下载
🍺 The missing package manager for macOS (or Linux)
最近提交(Master分支:1 个月前 )
90a90b30 3 个月前
47b1cab7 3 个月前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐