Use WineHQ with Mono on Ubuntu Server

Questions about Wine on Linux
Locked
Sergii
Newbie
Newbie
Posts: 1
Joined: Fri Mar 03, 2023 4:57 am

Use WineHQ with Mono on Ubuntu Server

Post by Sergii »

Hello everyone,

I'm running Ubuntu Server without X11, and I need to launch a Windows command line program on it. However, this program requires Mono to run.
Could you please advise me on how to install Mono from the shell?

Thank you in advance!
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Use WineHQ with Mono on Ubuntu Server

Post by jkfloris »

Similar to Windows. With msiexec:

Code: Select all

wine msiexec /i mono-6.12.0.182-gtksharp-2.12.45-win32-0.msi /qn
Are you sure you need Wine? Mono can also be installed in Ubuntu:

Code: Select all

sudo apt install mono-complete
And run the executable with:

Code: Select all

mono program.exe
Locked