{"id":11713,"date":"2022-02-25T07:22:52","date_gmt":"2022-02-25T04:22:52","guid":{"rendered":"https:\/\/kifarunix.com\/?p=11713"},"modified":"2024-03-09T09:27:56","modified_gmt":"2024-03-09T06:27:56","slug":"install-wine-on-debian-11","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-wine-on-debian-11\/","title":{"rendered":"Install Wine on Debian 11"},"content":{"rendered":"\n<p>Wine 7.x has just been released! Follow this tutorial to learn how to install Wine on Debian 11. <a href=\"https:\/\/www.winehq.org\/news\/\" target=\"_blank\" rel=\"noreferrer noopener\">Wine 7 is the current stable release<\/a> as of this writing, hence this guide is about how to install 7.x on Debian 11. <a href=\"https:\/\/www.winehq.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Wine (<\/a><strong><a href=\"https:\/\/www.winehq.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">W<\/a><\/strong><a href=\"https:\/\/www.winehq.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">ine\u00a0<\/a><strong><a href=\"https:\/\/www.winehq.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">I<\/a><\/strong><a href=\"https:\/\/www.winehq.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">s\u00a0<\/a><strong><a href=\"https:\/\/www.winehq.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">N<\/a><\/strong><a href=\"https:\/\/www.winehq.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">ot an\u00a0<\/a><strong><a href=\"https:\/\/www.winehq.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">E<\/a><\/strong><a href=\"https:\/\/www.winehq.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">mulator)<\/a>\u00a0is a program which allows running Microsoft Windows programs (including DOS, Windows 3.x, Win32, and Win64 executables) on Unix. It consists of a program loader which loads and executes a Microsoft Windows binary, and a library (called Winelib) that implements Windows API calls using their Unix, X11 or Mac equivalents. The library may also be used for porting Windows code into native Unix executables.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#install-wine-on-debian-11\">Install Wine on Debian 11<\/a><ul><li><a href=\"#install-official-wine-repository\">Install Official Wine Repository<\/a><\/li><li><a href=\"#enable-32-bit-system-support-on-debian-11\">Enable 32-bit System Support on Debian 11<\/a><\/li><li><a href=\"#install-wine-on-debian\">Install Wine on Debian<\/a><\/li><li><a href=\"#verify-wine-installation\">Verify Wine Installation<\/a><\/li><li><a href=\"#reboot-system\">Reboot System<\/a><\/li><li><a href=\"#run-windows-applications-on-debian-11-using-wine\">Run Windows Applications on Debian 11 using Wine<\/a><\/li><li><a href=\"#further-reading\">Further Reading<\/a><\/li><li><a href=\"#other-tutorials\">Other Tutorials<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-wine-on-debian-11\">Install Wine on Debian 11<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-official-wine-repository\">Install Official Wine Repository<\/h3>\n\n\n\n<p>Wine is provided by the default Debian main repos. However, Wine 5.0 is the latest available version;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt-cache policy wine<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>wine:\n  Installed: (none)\n  Candidate: 5.0.3-3\n  Version table:\n     5.0.3-3 500\n        500 http:\/\/deb.debian.org\/debian bullseye\/main amd64 Packages\n     4.0-2 500\n        500 http:\/\/ftp.de.debian.org\/debian buster\/main amd64 Packages\n<\/code><\/pre>\n\n\n\n<p>In order to be able to install Wine 7.x on Debian 11, you need to install the Official Wine repository as shown below;<\/p>\n\n\n\n<p>Install Wine repository signing key.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -qO- https:\/\/dl.winehq.org\/wine-builds\/winehq.key | gpg --dearmor &gt; \/etc\/apt\/trusted.gpg.d\/wine.gpg<\/code><\/pre>\n\n\n\n<p>Install the repositories;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo 'deb http:\/\/dl.winehq.org\/wine-builds\/debian\/ bullseye main' &gt; \/etc\/apt\/sources.list.d\/wine.list<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"enable-32-bit-system-support-on-debian-11\">Enable 32-bit System Support on Debian 11<\/h3>\n\n\n\n<p>In order to be able to run 32-bit Windows applications, you need to enable 32-bit architecture on 64-bit systems.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg --add-architecture i386<\/code><\/pre>\n\n\n\n<p>Update the package cache;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update<\/code><\/pre>\n\n\n\n<p>To verify the enablement of the 32-bit architecture support;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg --print-foreign-architectures<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>i386<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-wine-on-debian\">Install Wine on Debian<\/h3>\n\n\n\n<p>You can now install Wine by running the command below;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install --install-recommends winehq-stable<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"verify-wine-installation\">Verify Wine Installation<\/h3>\n\n\n\n<p>Run the command below to check installed WIne version as a way to verify its installation;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wine --version<\/code><\/pre>\n\n\n\n<p>Sample output;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wine-7.0<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"reboot-system\">Reboot System<\/h3>\n\n\n\n<p>You can now run system reboot to ensure that Wine environment is setup;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl reboot<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"run-windows-applications-on-debian-11-using-wine\">Run Windows Applications on Debian 11 using Wine<\/h3>\n\n\n\n<p>You can then run Windows applications on Debian 11 using Wine, for example, to run Putty (as a standard, non-root user);<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wine putty.exe<\/code><\/pre>\n\n\n\n<p>If prompted to install Wine Mono\/Gecko, click install and proceed.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/02\/wine-debian-putty.exe_.png\" class=\"td-modal-image\"><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"588\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/02\/wine-debian-putty.exe_.png\" alt=\"Install Wine on Debian 11\" class=\"wp-image-11715\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/02\/wine-debian-putty.exe_.png?v=1645762496 1045w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/02\/wine-debian-putty.exe_-768x432.png?v=1645762496 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure><\/div><\/a><\/div>\n\n\n\n<p>You can now use Wine on Debian 11 to run other apps as you so wish.<\/p>\n\n\n\n<p>That brings us to the end of our guide on how to install Wine on Debian Linux.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"further-reading\">Further Reading<\/h3>\n\n\n\n<p><a href=\"https:\/\/wiki.winehq.org\/Main_Page\" target=\"_blank\" rel=\"noreferrer noopener\">WineHQ Wiki<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"other-tutorials\">Other Tutorials<\/h3>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-netbeans-ide-on-debian-11\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install NetBeans IDE on Debian 11<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-metasploit-on-debian\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Metasploit on Debian 11\/Debian 10<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wine 7.x has just been released! Follow this tutorial to learn how to install Wine on Debian 11. Wine 7 is the current stable release<\/p>\n","protected":false},"author":1,"featured_media":11716,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121],"tags":[4637,4636,4638,4639,4640],"class_list":["post-11713","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-install-wine-7-0-on-debian-11","tag-install-wine-on-debian-11","tag-install-winehq-debian","tag-wine-7-0-debian","tag-winehq-stable","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/11713"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=11713"}],"version-history":[{"count":4,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/11713\/revisions"}],"predecessor-version":[{"id":20395,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/11713\/revisions\/20395"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/11716"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=11713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=11713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=11713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}