{"id":9746,"date":"2020-01-23T09:28:29","date_gmt":"2020-01-23T09:28:29","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=9746"},"modified":"2024-04-24T13:22:26","modified_gmt":"2024-04-24T13:22:26","slug":"install-wine-5-0-stable-ubuntu-18-04-19-10","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/01\/install-wine-5-0-stable-ubuntu-18-04-19-10\/","title":{"rendered":"How to Install Wine 5.0 Stable in Ubuntu 18.04, 19.10"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5947\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/wine-logo245.png\" alt=\"Wine Stable\" width=\"245\" height=\"250\" \/><\/p>\n<p>Wine 5.0 stable was released 2 days ago with a large number of improvements. Here&#8217;s how to install it in <b>Ubuntu 18.04<\/b>, <b>Ubuntu 19.10<\/b> (fix dependenices).<\/p>\n<p>&#8220;<i>Wine 5.0 is dedicated to the memory of J\u00f3zef Kucia, who passed away in August 2019 at the young age of 30. J\u00f3zef was a major contributor to Wine&#8217;s Direct3D implementation, and the lead developer of the vkd3d project. His skills and his kindness are sorely missed by all of us.<\/i>&#8221;<\/p>\n<p><b>UPDATE 2024: THIS TUTORIAL IS OUTDATED! Please see this <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2022\/04\/wine-ubuntu-2204-windows-apps\/\" target=\"_blank\" rel=\"noopener\">new one<\/a> instead of current Ubuntu releases!<\/b><\/p>\n<p><a href=\"https:\/\/www.winehq.org\/announce\/5.0\" target=\"_blank\" rel=\"noopener\">Wine 5.0<\/a> features:<\/p>\n<ul>\n<li>Builtin modules in PE format.<\/li>\n<li>Multi-monitor support.<\/li>\n<li>XAudio2 reimplementation.<\/li>\n<li>Vulkan 1.1 support.<\/li>\n<\/ul>\n<h4>How to Install Wine 5.0 in Ubuntu:<\/h4>\n<p>The official wine apt repository has made the packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.<\/p>\n<div class=\"arconix-box arconix-box-yellow\"><i class='fa fa-2x pull-left fa-lightbulb-o'><\/i><div class=\"arconix-box-content\">To get out of <b>WINE DEPENDENCY HELL:<\/b><\/p>\n<p>I&#8217;ve successfully installed Wine 5.0 in <u>Ubuntu 19.10<\/u> via following steps without any dependency issue.<\/p>\n<p><u>Ubuntu 18.04<\/u> however run into unmet dependencies issue even after purging graphics drivers PPA, kisak-mesa PPA, etc. And <code>sudo aptitude install wine-stable<\/code> command output hundreds of package conflicts with no workaround.<\/p>\n<p>THANKS to <a href=\"https:\/\/github.com\/lutris\/docs\/blob\/master\/WineDependencies.md\" target=\"_blank\" rel=\"noopener\">lutris<\/a>, I&#8217;ve finally got out of the <b>Wine Dependency hell<\/b> in <b>Ubuntu 18.04<\/b> by running command:<\/p>\n<pre style=\"border: none\">sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386<\/pre>\n<\/div><\/div>\n<p>Open <u>terminal<\/u> either by pressing <b>Ctrl+Alt+T<\/b> on keyboard, or by searching for &#8216;terminal&#8217; from application menu. When it opens, run following commands one by one.<\/p>\n<p><b>1.)<\/b> Run command to enable 32 bit architecture:<\/p>\n<pre style=\"border: none;\">sudo dpkg --add-architecture i386<\/pre>\n<p><i>Type user password (no asterisk feedback) when it prompts and hit Enter to continue.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9747\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/enable-32bit-eoan.png\" alt=\"\" width=\"500\" height=\"111\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/enable-32bit-eoan.png 500w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/enable-32bit-eoan-450x100.png 450w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><b>2.)<\/b> Download and install the repository key via command:<\/p>\n<pre style=\"border: none;\">wget -nc https:\/\/dl.winehq.org\/wine-builds\/winehq.key; sudo apt-key add winehq.key<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9593\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/12\/wine-key-eaon.webp\" alt=\"\" width=\"600\" height=\"126\" \/><\/p>\n<p><b>3.)<\/b> Add wine repository via command (for <b>Ubuntu 19.10<\/b>):<\/p>\n<pre style=\"border: none;\">sudo apt-add-repository 'deb https:\/\/dl.winehq.org\/wine-builds\/ubuntu\/ <b>eoan<\/b> main'<\/pre>\n<p>NOTE: You may replace <b>eoan<\/b> in the code with:<\/p>\n<ul>\n<li><b>bionic<\/b> for Ubuntu 18.04 and Linux Mint 19.x<\/li>\n<li><b>xenial<\/b> for Ubuntu 16.04 and Linux Mint 18.x<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9748\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/wine-repo-eoan.png\" alt=\"\" width=\"600\" height=\"116\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/wine-repo-eoan.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/wine-repo-eoan-450x87.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>4.)<\/b> Add PPA for the required <code>libfaudio0<\/code> library:<\/p>\n<p><b>For Ubuntu 18.04, Linux Mint 19.x, and Ubuntu 19.04 only<\/b>, as higher Ubuntu releases already have libfaudio0 in the main repositories.<\/p>\n<pre style=\"border: none;\">sudo add-apt-repository ppa:cybermax-dexter\/sdl2-backport<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8938\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/faudio-ppa-600x127.jpg\" alt=\"\" width=\"600\" height=\"127\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/faudio-ppa-600x127.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/faudio-ppa-450x95.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/faudio-ppa.jpg 685w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>5.)<\/b> Finally install Wine 5.0 stable via command:<\/p>\n<pre style=\"border: none;\">sudo apt update &amp;&amp; sudo apt install --install-recommends winehq-stable<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-9749\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/apt-wine5.png\" alt=\"\" width=\"600\" height=\"379\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/apt-wine5.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/apt-wine5-450x284.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>(<b>Optional<\/b>) After successfully installed Wine 5.0, you may remove the PPAs by launching <b>Software &amp; Updates<\/b> utility and navigating to <b>Other Software<\/b> tab.<\/p>","protected":false},"excerpt":{"rendered":"<p>Wine 5.0 stable was released 2 days ago with a large number of improvements. Here&#8217;s how to install it in Ubuntu 18.04, Ubuntu 19.10 (fix dependenices). &#8220;Wine 5.0 is dedicated to the memory of J\u00f3zef Kucia, who passed away in August 2019 at the young age of 30. J\u00f3zef was a major contributor to Wine&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,6],"tags":[1870],"class_list":["post-9746","post","type-post","status-publish","format-standard","hentry","category-howtos","category-news","tag-wine-5-0"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9746","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=9746"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9746\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=9746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=9746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=9746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}