{"id":66979,"date":"2024-11-23T17:26:06","date_gmt":"2024-11-23T16:26:06","guid":{"rendered":"https:\/\/ekiwi-blog.de\/66979\/run-net-applications-in-linux-with-wine\/"},"modified":"2024-11-25T07:29:07","modified_gmt":"2024-11-25T06:29:07","slug":"run-net-applications-in-linux-with-wine","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/66979\/run-net-applications-in-linux-with-wine\/","title":{"rendered":"Run .net applications in Linux with Wine"},"content":{"rendered":"<p>Donet applications under Linux.<\/p>\n<p><!--more--><\/p>\n<p>I have written a few self-coded programmes in .net, these use Windows Forms. In Mono these do not run directly in Linux, so I wanted to run them with Wine. That should also work.<\/p>\n<p>However, I got an error message:<\/p>\n<pre>\r\nWine Mono is not installed\r\n<\/pre>\n<p>Wine Mono is available <a href=\"https:\/\/dl.winehq.org\/wine\/wine-mono\/\" target=\"_blank\" rel=\"noopener noreferrer\">here for download<\/a>. I have selected the version that matches the installed Wine version.<\/p>\n<pre>\r\nwine -version\r\n<\/pre>\n<p>We can then install the package:<\/p>\n<pre>\r\nwine start wine-mono-9.0.0-x86.msi\r\n<\/pre>\n<p>Success was achieved at the next start.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wine_1.jpg\" alt=\"\" width=\"600\" height=\"370\" class=\"aligncenter size-full wp-image-66967\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wine_1.jpg 600w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wine_1-300x185.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of content<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ekiwi-blog.de\/en\/66979\/run-net-applications-in-linux-with-wine\/#Additional_message_failed_to_init_Gecko\" >Additional message: failed to init Gecko<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ekiwi-blog.de\/en\/66979\/run-net-applications-in-linux-with-wine\/#Uninstallation\" >Uninstallation<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Additional_message_failed_to_init_Gecko\"><\/span>Additional message: failed to init Gecko<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>However, the integrated web browser, which is used in parts of the application, did not work. At least the application does not crash immediately, only the browser component remains empty.<\/p>\n<p>Wine Gecko can be downloaded <a href=\"https:\/\/gitlab.winehq.org\/wine\/wine\/-\/wikis\/Gecko\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<p>Install in the same way as above. Afterwards everything worked.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Uninstallation\"><\/span>Uninstallation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If the components are to be uninstalled again later, this can be done using the Wine uninstaller.<\/p>\n<pre>\r\nwine uninstaller\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wine_2.jpg\" alt=\"\" width=\"700\" height=\"636\" class=\"aligncenter size-full wp-image-66971\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wine_2.jpg 700w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/wine_2-300x273.jpg 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Donet applications under Linux.<\/p>\n","protected":false},"author":1,"featured_media":66976,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[1682],"class_list":["post-66979","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-linux-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/66979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=66979"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/66979\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/66976"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=66979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=66979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=66979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}