{"id":45283,"date":"2024-01-19T12:11:47","date_gmt":"2024-01-19T12:11:47","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=45283"},"modified":"2024-02-11T08:08:55","modified_gmt":"2024-02-11T08:08:55","slug":"wine-9-0-stable-how-to-install","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/01\/wine-9-0-stable-how-to-install\/","title":{"rendered":"Wine 9.0 Stable Released! How to Install it in Ubuntu"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/wine-image.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-35331\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/wine-image-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/wine-image-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/wine-image-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/wine-image-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/wine-image-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/wine-image.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p><b>Wine, the popular software for running Windows applications on Linux, macOS, &amp; BSD, announced new stable 9.0 release few days ago on Tuesday.<\/b><\/p>\n<p>Wine 9.0 features <b>WoW 6.0<\/b> (Windows 32-bit on Windows 64-bit), which was experimentally supported in last 8.0 release. It allows to run 32-bit Windows applications on a purely 64-bit Unix installation, instead of inside a 32-bit Unix process. However, the features is NOT enabled by default.<\/p>\n<p>The release also includes experimental <b>Wayland graphics driver<\/b>. Which is also not enabled by default, but already implements many features, such as basic window management, multiple monitors, high-DPI scaling, relative motion events, and Vulkan support.<\/p>\n<p>The 9.0 release added initial support for building Wine for the ARM64EC architecture, for running Windows apps on ARM64 powered devices with native speed.<\/p>\n<p>Other changes in Wine 9.0 include:<\/p>\n<ul>\n<li>WinRT theming supports a dark theme option<\/li>\n<li>Vulkan driver supports up to version 1.3.272 of the Vulkan spec.<\/li>\n<li>Implement Windows Media Video (WMV) decoder DirectX Media Object (DMO)<\/li>\n<li>Mono engine is updated to version 8.1.0<\/li>\n<li>DLS1 and DLS2 sound font loading<\/li>\n<li>The default Windows version for new prefixes is set to Windows 10.<\/li>\n<li>MIDI playback in dmsynth<\/li>\n<li>Indeo IV50 Video for Windows decoder<\/li>\n<li>And much more! See <a href=\"https:\/\/gitlab.winehq.org\/wine\/wine\/-\/releases\/wine-9.0\" target=\"_blank\" rel=\"noopener\">release note<\/a> for details.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/wine90-config.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45285\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/wine90-config.webp\" alt=\"\" width=\"412\" height=\"485\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/wine90-config.webp 412w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/wine90-config-255x300.webp 255w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/a><br \/>\n<!--more--><\/p>\n<h3>How to Install Wine 9.0 in Ubuntu<\/h3>\n<p>Wine has an official apt repository that contains the new release packages. You can either follow the official <a href=\"https:\/\/wiki.winehq.org\/Ubuntu\" target=\"_blank\" rel=\"noopener\">setup guide<\/a>, or see this <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2022\/04\/wine-ubuntu-2204-windows-apps\/\" target=\"_blank\" rel=\"noopener\">step by step how to guide<\/a> to install wine 9.0 in Ubuntu 20.04, Ubuntu 22.04, Ubuntu 23.04, and Ubuntu 23.10.<\/p>\n<p>To be short, just press <code>Ctrl+Alt+T<\/code> on keyboard to open terminal, and run following commands one by one:<\/p>\n<ul>\n<li>First, download &amp; install the keyring (<i>it should output unreadable text<\/i>):\n<pre>wget -qO - https:\/\/dl.winehq.org\/wine-builds\/winehq.key | gpg --dearmor | sudo tee \/etc\/apt\/keyrings\/winehq-archive.key<\/pre>\n<\/li>\n<li>Download &amp; setup the sources file:\n<pre>sudo wget -NP \/etc\/apt\/sources.list.d\/ https:\/\/dl.winehq.org\/wine-builds\/ubuntu\/dists\/<b>$(lsb_release -sc)<\/b>\/winehq-<b>$(lsb_release -sc)<\/b>.sources<\/pre>\n<p>For Ubuntu based systems, <b>do replace <code>$(lsb_release -sc)<\/code> with UBUNTU_CODENAME (e.g., <code>jammy<\/code>, <code>focal<\/code>) depends which Ubuntu version your system is based on<\/b> (run <code>cat \/etc\/os-release<\/code> to tell).<\/li>\n<li>Then, refresh system package cache:\n<pre>sudo apt update<\/pre>\n<\/li>\n<li>Finally, install the wine-stable package:\n<pre>sudo apt install winehq-stable<\/pre>\n<\/li>\n<\/ul>\n<p>When done installing Wine 9.0, run <code>winecfg<\/code> to generate and open the configuration dialog and configure for your specific requirements.<\/p>\n<h3>Uninstall Wine 9.0<\/h3>\n<p>1. To remove the Wine package, open terminal (Ctrl+Alt+T) and run commands:<\/p>\n<pre>sudo apt remove --autoremove wine-stable winehq-stable<\/pre>\n<p>There will be local configuration files and app data left under <b>.wine<\/b> and <b>.local\/share\/applications<\/b>. They are hidden folders, press <b>Ctrl+H<\/b> in file manager to toggle display and remove them as you want.<\/p>\n<p>2. To remove the Wine repository, open terminal (Ctrl+Alt+T) and run command:<\/p>\n<pre>sudo rm \/etc\/apt\/sources.list.d\/winehq-*.sources<\/pre>\n<p>And remove the repository key via command:<\/p>\n<pre>sudo rm \/etc\/apt\/keyrings\/winehq-archive.key<\/pre>\n<p>Finally apply changes by running <code>sudo apt update<\/code> to refresh system package cache.<\/p>","protected":false},"excerpt":{"rendered":"<p>Wine, the popular software for running Windows applications on Linux, macOS, &amp; BSD, announced new stable 9.0 release few days ago on Tuesday. Wine 9.0 features WoW 6.0 (Windows 32-bit on Windows 64-bit), which was experimentally supported in last 8.0 release. It allows to run 32-bit Windows applications on a purely 64-bit Unix installation, instead [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":35331,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[173],"class_list":["post-45283","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-wine"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45283","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=45283"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45283\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/35331"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=45283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=45283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=45283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}