Last Updated on 2021-10-13 by Clay
Ever since my daily personal laptop was changed from Linux to Mac OS, I knew that one day I would study how to use software such as wine on Mac OS.
Because I want to use many Windows exe files. No way, many programs in Windows are too important and easy to use.
How to use wine
First, use the following command to install it:
brew install --cask wine-stable
Then we can use wine
to open the executable file in exe format as in the Linux system.
But here is a small detail that needs attention. Mac OS does not support 32-bit executable files after upgrading to the Catalina version. If you use the wine
command to open the exe file directly, the default is to use 32-bit to execute.
In other words, if I want to open a game named jy5.exe:
wine jy5.exe
Output:
-bash: /usr/local/bin/wine: Bad CPU type in executable
It's report an error message. Therefore, in the Mac OS environment, it is recommended to use wine64
for execution.
wine64 jy5.exe
References
- https://formulae.brew.sh/cask/wine-stable
- https://github.com/electron/node-rcedit/issues/51
- https://www.winehq.org/