He instalado el vino a través de un .pkg desde aquí . Wine Stable.app
funciona bien, pero cuando ejecuto cualquier comando relacionado con el vino desde el terminal, obtengo command not found
.
Los comandos relacionados con el vino no están en la ruta, por lo que debe agregarlos:
(esto es para si lo instaló para todos los usuarios, si es solo para su usuario, coloque ~/Applications
en lugar de /Applications
)
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/wine /usr/local/bin/wine
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/winecfg /usr/local/bin/winecfg
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/msiexec /usr/local/bin/msiexec
Si también instaló vino de 64 bits: sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/wine64 /usr/local/bin/wine64
Opcional:
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/notepad /usr/local/bin/notepad
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/regedit /usr/local/bin/regedit
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/regsvr32 /usr/local/bin/regsvr32
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/wineboot /usr/local/bin/wineboot
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/wineconsole /usr/local/bin/wineconsole
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/winedbg /usr/local/bin/winedbg
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/winefile /usr/local/bin/winefile
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/winepath /usr/local/bin/winepath
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/wineserver /usr/local/bin/wineserver
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/start/bin/appdb /usr/local/bin/appdb
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/winehelp /usr/local/bin/winehelp
Lea otras preguntas en las etiquetas macos command-line wine