
{"id":37857,"date":"2022-03-12T13:18:46","date_gmt":"2022-03-12T13:18:46","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=37857"},"modified":"2022-03-12T13:18:46","modified_gmt":"2022-03-12T13:18:46","slug":"wine-7-4-dev-released","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/03\/wine-7-4-dev-released\/","title":{"rendered":"Wine 7.4 Dev Released! Vkd3d bundle, Defauts to Light Theme"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/wine-image.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/wine-image-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" class=\"alignleft size-thumbnail wp-image-35331\" 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>Wine 7.4, the new development of the compatibility layer capable of running Windows apps on Linux, is out.<\/p>\n<p><b>The new release bundled Vkd3d, 3D graphics library built on top of Vulkan, for its implementation of Direct3D 12.<\/b><\/p>\n<p>Other changes include defaults to &#8216;Light&#8217; theme, WineD3D, D3D12 and DXGI modules converted to PE, more large scale cleanups to support &#8216;long&#8217; type. And, there more than a dozen of bug-fixes. See <a href=\"https:\/\/www.winehq.org\/announce\/7.4\" rel=\"noopener\" target=\"_blank\">more here<\/a>.<\/p>\n<h3>How to install Wine 7.4 in Ubuntu:<\/h3>\n<p>The official Wine repository provides the packages for <b>Ubuntu 18.04<\/b>, <b>Ubuntu 20.04<\/b>, <b>Ubuntu 21.10<\/b>, <b>Linux Mint 20<\/b>, and their derivatives.<\/p>\n<p><i>NOTE: Installing Wine Dev release will replace the stable package (if installed from same repository) in your system if any.<\/i><\/p>\n<h4>1. Enable 32 bit architecture<\/h4>\n<p>For modern 64-bit systems, you may first make sure the ability to install 32-bit app packages has been enabled.<\/p>\n<p>To do so, press <b>Ctrl+Alt+T<\/b> on keyboard to open terminal. When it opens, run command:<\/p>\n<pre>sudo dpkg --add-architecture i386<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/enable-32bit-focal.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/enable-32bit-focal.png\" alt=\"\" width=\"600\" height=\"167\" class=\"aligncenter size-full wp-image-36892\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/enable-32bit-focal.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/enable-32bit-focal-300x84.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h4>2. Install the key:<\/h4>\n<p>To make your system trust the package from Wine repository, you have to download &#038; install the key.<\/p>\n<p>It&#8217;s can be done simply by running the command below in terminal:<\/p>\n<pre>wget -O - https:\/\/dl.winehq.org\/wine-builds\/winehq.key | sudo apt-key add -<\/pre>\n<p>Though the <code>apt-key<\/code> command is deprecated, it&#8217;s still working and the most efficient so far.<\/p>\n<p><b>NOTE: The command may stuck with blinking cursor after downloading the key, if you run this command in another window or a few minutes after the last. It&#8217;s waiting for you to type password for &#8216;sudo&#8217; authentication. Just type your password (no visual feedback) in mind and hit Enter.<\/b><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/wine-key-focal.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/wine-key-focal.png\" alt=\"\" width=\"600\" height=\"323\" class=\"aligncenter size-full wp-image-36893\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/wine-key-focal.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/wine-key-focal-300x162.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h4>3. Add Wine Repository:<\/h4>\n<p>Now in terminal window, run command to add the Wine repository (replace <b>focal<\/b> accordingly!):<\/p>\n<pre>sudo add-apt-repository 'deb https:\/\/dl.winehq.org\/wine-builds\/ubuntu\/ <b>focal<\/b> main'<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/wine-focal-repo.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/wine-focal-repo-600x96.jpg\" alt=\"\" width=\"600\" height=\"96\" class=\"aligncenter size-large wp-image-10417\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/wine-focal-repo-600x96.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/wine-focal-repo-450x72.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/wine-focal-repo.jpg 747w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>NOTE: the command above is for &#8216;Ubuntu 20.04&#8217; and &#8216;Linux Mint 20&#8217; only!!! For other Ubuntu edition (check via <b>lsb_release -a<\/b> command), do change <b>focal<\/b> in the code with:<\/p>\n<ul>\n<li><b>bionic<\/b> for Ubuntu 18.04.<\/li>\n<li><b>impish<\/b> for Ubuntu 21.10.<\/li>\n<\/ul>\n<p>Say you&#8217;re running Ubuntu 21.10, the command will be:<\/p>\n<pre>sudo add-apt-repository 'deb https:\/\/dl.winehq.org\/wine-builds\/ubuntu\/ <b>impish<\/b> main'<\/pre>\n<h4>4. Install Wine 7.4:<\/h4>\n<p>Finally, refresh system package cache by running command:<\/p>\n<pre>sudo apt update<\/pre>\n<p>And, install Wine 7.4 via:<\/p>\n<pre>sudo apt install --install-recommends winehq-devel<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/apt-winedev-impish.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/apt-winedev-impish.png\" alt=\"\" width=\"600\" height=\"222\" class=\"aligncenter size-full wp-image-35337\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/apt-winedev-impish.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/apt-winedev-impish-300x111.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>Unmet dependency<\/b> is a common issue while installing Wine in Ubuntu. In my Ubuntu 20.04, I never had the issue after manually installing the following packages: <\/p>\n<pre>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<p>Also, you may use <code>aptitude<\/code> (install it via <code>sudo apt install aptitude<\/code>) instead to print workarounds:<\/p>\n<pre>sudo aptitude install winehq-devel<\/pre>\n<h3>Uninstall Wine 7.4:<\/h3>\n<p>To remove the wine packages, use command in terminal:<\/p>\n<pre>sudo apt remove --auto-remove winehq-devel<\/pre>\n<p>And remove the Wine repository using &#8216;<i>Software &#038; Updates<\/i>&#8216; utility at <i>Other Software<\/i> tab.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/remove-winerepo-focal.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/remove-winerepo-focal-600x290.webp\" alt=\"\" width=\"600\" height=\"290\" class=\"aligncenter size-large wp-image-36895\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/remove-winerepo-focal-600x290.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/remove-winerepo-focal-300x145.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/remove-winerepo-focal-768x371.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/remove-winerepo-focal.webp 1012w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>That&#8217;s all. Enjoy!<\/p>","protected":false},"excerpt":{"rendered":"<p>Wine 7.4, the new development of the compatibility layer capable of running Windows apps on Linux, is out. The new release bundled Vkd3d, 3D graphics library built on top of Vulkan, for its implementation of Direct3D 12. Other changes include defaults to &#8216;Light&#8217; theme, WineD3D, D3D12 and DXGI modules converted to PE, more large scale [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":35331,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[173],"class_list":["post-37857","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-wine"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/37857","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=37857"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/37857\/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=37857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=37857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=37857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}