Do you really need to use Excel itself? The problem here is not that Excel does not work with Mono, since Excel does not work with Linux. You might be able to do something hacked with Wine to run Excel and its associated COM interoperability on Linux, but I would suggest that Excel be completely abandoned if you intend to use Linux. There are several libraries for managing .xls and .xlsx files in a more cross-platform way: the whole StackOverflow question is about working with Excel files without using Excel.
Now, if you do more than just create files - for example, if you want to use the Excel calculation engine, then you probably have to use Excel itself. In this case, I see three clear options: (a) run Excel (and possibly your application) under Wine, and hope that it works, (b) use Excel for Mac and start the server with OS X or (c) use Windows I donβt know if options (a) and (b) will allow correct COM interoperability, although I would expect Wine to try to replicate all COM and Office for Mac, it has some kind of API that replaces COM interoperability. The third option can come in two options: you can use Windows Server to run your site, or you can select one computer or virtual machine in the Excel computing engine and connect with other parts of your web server code.
source share