This question already has an answer here:
- Mono Package for Wine is not installed 2 answers
I have an installation of wine on my Ubuntu 14.04 (minimal) system (with xfce):
sudo apt-get install --no-install-recommends wine
I wanted to run .NET applications with it. When I use a GUI (File manager) to execute such an application with wine for the first time, a message from wine is displayed telling me that mono is not installed. It then prompts me to install mono for wine. If I proceed, it downloads and installs it and everything works fine, i.e., I can execute .NET applications with wine.
Now, since I want to create an automated install script for various applications (including wine and mono for wine), I was looking for a package that does what I described above, but without the GUI and, more importantly, without user interaction. I found the wine-mono0.0.8 package, which I tried to install:
sudo apt-get install --no-install-recommends wine-mono0.0.8
However, even after it is installed, wine complains that mono for wine is not installed, refusing to run .NET applications. I also tried winetricks (from the package with the same name), but not only did the installation fail - it required user interaction in the setup.
My question now is: Is there an alternative way to install wine for mono (like it does when started in a GUI for the first time), but without the need for user interaction? Alternatively, is there another package like wine-mono0.0.8 which works, i.e., makes wine recognize the mono installation?
Best regards Andreas