Install Wine On Homebrew

Naturally as I’d said above 32Bit is not supported in upstream wine you can use wine64. If you need 32Bit support purchase a CrossOver license for the best experience or use my wine-crossover packages that’s also available from my homebrew tap. The wine-crossover package doesn’t provide support for macOS DXVK unlike CrossOver. Spent my whole day trying to install wine but stuck in the dependencies hell, tried almost every link I could find on google without any luck, If someone was able to run it in Ubuntu 19.10 please help me with that, I switched to linux less than 48 hours ago (although I've had slight knowledge of linux before that).

  1. Install Wine Using Homebrew
  2. Install Wine On Homebrew Software
  3. Wine Install On Homebrew
  4. Install Wine On Homebrew App
  5. Install Wine On Homebrew System

Brew install -cask xquartz brew install -formula bison flex mingw-w64 pkgconfig As homebrew no longer provides universal dylibs anything outside of XQuartz provided files and the basic build dependencies would need to be built from source. Homebrew no longer allows force linking bison so this needs to be added to PATH manually. Wine is an open source program for running Windows software on non-Windows operating systems. While it’s most often used on Linux, Wine can run Windows software directly on a Mac, too–without requiring a Windows license or needing Windows running in the background. Only a single wine package can be installed using brew The -no-quarantine command is required as homebrew by default adds the quarantine flag to downloaded casks, this causes Gatekeeper to treat the bundle as damaged. Winehq is currently not providing recent packages for macOS so I decided to upload my own builds.

Install Wine On Homebrew

Instructions for a supported install of Homebrew are on the homepage.

Install Wine Using Homebrew

Wine

This script installs Homebrew to its preferred prefix (/usr/localfor macOS Intel, /opt/homebrew for Apple Silicon and /home/linuxbrew/.linuxbrew for Linux) so thatyou don’t need sudo when youbrew install. It is a careful script; it can be run even if you have stuffinstalled in the preferred prefix already. It tells you exactly what it will do beforeit does it too. You have to confirm everything it will do before it starts.

macOS Requirements

Install
  • A 64-bit Intel CPU or Apple Silicon CPU 1
  • macOS Mojave (10.14) (or higher) 2
  • Command Line Tools (CLT) for Xcode: xcode-select --install,developer.apple.com/downloads orXcode3
  • A Bourne-compatible shell for installation (e.g. bash or zsh) 4

Git Remote Mirroring

You can set HOMEBREW_BREW_GIT_REMOTE and/or HOMEBREW_CORE_GIT_REMOTE in your shell environment to use geolocalized Git mirrors to speed up Homebrew’s installation with this script and, after installation, brew update.

The default Git remote will be used if the corresponding environment variable is unset.

Alternative Installs

Linux or Windows 10 Subsystem for Linux

Check out the Homebrew on Linux installation documentation.

Untar anywhere

Install Wine On Homebrew Software

Just extract (or git clone) Homebrew wherever you want. Just avoid:

  • Directories with names that contain spaces. Homebrew itself can handle spaces, but many build scripts cannot.
  • /tmp subdirectories because Homebrew gets upset.
  • /sw and /opt/local because build scripts get confused when Homebrew is there instead of Fink or MacPorts, respectively.

However do yourself a favour and use the installer to install to the default prefix. Some things maynot build when installed elsewhere. One of the reasons Homebrew justworks relative to the competition is because we recommend installinghere. Pick another prefix at your peril!

Wine Install On Homebrew

Multiple installations

Create a Homebrew installation wherever you extract the tarball. Whichever brew command is called is where the packages will be installed. You can use this as you see fit, e.g. a system set of libs in the default prefix and tweaked formulae for development in ~/homebrew.

Install Wine On Homebrew App

Uninstallation

Uninstallation is documented in the FAQ.

Install Wine On Homebrew

1 For 32-bit or PPC support seeTigerbrew.

2 10.14 or higher is recommended. 10.9–10.13 aresupported on a best-effort basis. For 10.4-10.6 seeTigerbrew.

3 Most formulae require a compiler. A handfulrequire a full Xcode installation. You can install Xcode, the CLT, or both;Homebrew supports all three configurations. Downloading Xcode may require anApple Developer account on older versions of Mac OS X. Sign up for freehere.

Install Wine On Homebrew System

4 The one-liner installation method found onbrew.sh requires a Bourne-compatible shell (e.g. bash orzsh). Notably, fish, tcsh and csh will not work.