Ho installato vino attraverso un file .pkg da qui . Wine Stable.app
funziona bene, ma quando eseguo qualsiasi comando relativo al vino dal terminale, ottengo command not found
.
I comandi relativi al vino non sono nel percorso, quindi devi aggiungerli:
(questo è per se lo hai installato per tutti gli utenti, se è solo per il tuo utente mettere ~/Applications
invece di /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
Se hai installato anche vino a 64 bit: sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/wine64 /usr/local/bin/wine64
Optional:
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
Leggi altre domande sui tag command-line macos wine