{"id":8987,"date":"2019-05-25T15:07:54","date_gmt":"2019-05-25T15:07:54","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=8987"},"modified":"2019-05-25T15:07:54","modified_gmt":"2019-05-25T15:07:54","slug":"wine-4-9-released-installing-plug-play-drivers","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2019\/05\/wine-4-9-released-installing-plug-play-drivers\/","title":{"rendered":"Wine 4.9 Released, Support for Installing Plug and Play Drivers"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/wine-logo245.png\" alt=\"Wine Stable\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-5947\" \/><\/p>\n<p>The new development release Wine 4.9 was released today. Here&#8217;s how to install it in Ubuntu 18.04, Ubuntu 18.10, and Ubuntu 19.04.<\/p>\n<p><a href=\"https:\/\/www.winehq.org\/announce\/4.9\" rel=\"noopener\" target=\"_blank\">Wine 4.9<\/a> release highlights:<\/p>\n<ul>\n<li>Initial support for installing Plug and Play drivers.<\/li>\n<li>Support for building 16-bit modules in PE format.<\/li>\n<li>A lot of code moved to the new KernelBase DLL.<\/li>\n<li>Various game controller fixes.<\/li>\n<li>Use higher performance system clocks if available.<\/li>\n<li>Various bug fixes.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine49-configuration-600x329.jpg\" alt=\"\" width=\"600\" height=\"329\" class=\"aligncenter size-large wp-image-8988\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine49-configuration-600x329.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine49-configuration-450x247.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine49-configuration-768x421.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine49-configuration.jpg 841w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h4>How to Install Wine 4.9 in Ubuntu:<\/h4>\n<p><b>1.<\/b> Open terminal either via <b>Ctrl+Alt+T<\/b> keyboard shortcut or by searching for &#8216;terminal&#8217; from app menu. When it opens, run following commands to download and install the key:<\/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><i>Type user password (no asterisk feedback) when it prompts and hit Enter.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine-keyring-600x116.jpg\" alt=\"\" width=\"600\" height=\"116\" class=\"aligncenter size-large wp-image-8936\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine-keyring-600x116.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine-keyring-450x87.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine-keyring.jpg 749w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.<\/b> Then add Wine repository for <b>Ubuntu 19.04<\/b>:<\/p>\n<pre style=\"border:none;\">sudo apt-add-repository 'deb https:\/\/dl.winehq.org\/wine-builds\/ubuntu\/ <b>disco<\/b> main'<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine-disco-repo-600x111.jpg\" alt=\"\" width=\"600\" height=\"111\" class=\"aligncenter size-large wp-image-8937\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine-disco-repo-600x111.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine-disco-repo-450x83.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/wine-disco-repo.jpg 751w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>For other Ubuntu releases, replace <code>disco<\/code> in the code with:<\/p>\n<ul>\n<li><code>bionic<\/code> for Ubuntu 18.04, Linux Mint 19.x<\/li>\n<li><code>cosmic<\/code> for Ubuntu 18.10.<\/li>\n<li><code>xenial<\/code> for Ubuntu 16.04, Linux Mint 18.x<\/li>\n<\/ul>\n<p><b>3. Install unmet dependence: <code>faudio<\/code><\/b><\/p>\n<p>The wine devel package requires <code>libfaudio0<\/code> library which is not available in Ubuntu repositories.<\/p>\n<p>As a workaround, run command to add the <a href=\"https:\/\/launchpad.net\/~cybermax-dexter\/+archive\/ubuntu\/sdl2-backport\" rel=\"noopener\" target=\"_blank\">third-party PPA<\/a>, which offers the packages for Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04.<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository ppa:cybermax-dexter\/sdl2-backport<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/faudio-ppa-600x127.jpg\" alt=\"\" width=\"600\" height=\"127\" class=\"aligncenter size-large wp-image-8938\" 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>4.<\/b> Finally run command to install Wine 4.9, which will automatically install the required libfaudio0 libraries.<\/p>\n<pre style=\"border:none;\">sudo apt install --install-recommends winehq-devel<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/apt-install-wine-600x111.jpg\" alt=\"\" width=\"600\" height=\"111\" class=\"aligncenter size-large wp-image-8939\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/apt-install-wine-600x111.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/apt-install-wine-450x83.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/apt-install-wine.jpg 748w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Once installed, run <code>winecfg<\/code> to bring up the configuration window and check Wine version.<\/p>\n<h4>Uninstall:<\/h4>\n<p>Open <b>Software &#038; Updates<\/b> and navigate to <b>Other Software<\/b> tab. Then remove the PPA, and Wine apt repository lines.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/remove-wine-faudio-ppa-450x227.jpg\" alt=\"\" width=\"450\" height=\"227\" class=\"aligncenter size-medium wp-image-8940\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/remove-wine-faudio-ppa-450x227.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/remove-wine-faudio-ppa-768x387.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/remove-wine-faudio-ppa-600x303.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/05\/remove-wine-faudio-ppa.jpg 928w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<p>To remove Wine devel package, run command:<\/p>\n<pre style=\"border:none;\">sudo apt remove --auto-remove winehq-devel<\/pre>","protected":false},"excerpt":{"rendered":"<p>The new development release Wine 4.9 was released today. Here&#8217;s how to install it in Ubuntu 18.04, Ubuntu 18.10, and Ubuntu 19.04. Wine 4.9 release highlights: Initial support for installing Plug and Play drivers. Support for building 16-bit modules in PE format. A lot of code moved to the new KernelBase DLL. Various game controller [&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],"tags":[173],"class_list":["post-8987","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-wine"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8987","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=8987"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8987\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=8987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=8987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=8987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}