{"id":7688,"date":"2021-01-18T21:28:46","date_gmt":"2021-01-18T18:28:46","guid":{"rendered":"https:\/\/kifarunix.com\/?p=7688"},"modified":"2024-03-19T20:54:21","modified_gmt":"2024-03-19T17:54:21","slug":"install-wine-6-on-debian","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-wine-6-on-debian\/","title":{"rendered":"Install Wine 6 on Debian 10"},"content":{"rendered":"\n
Wine 6.0 has just been released! Follow this tutorial to learn how to install Wine 6 on Debian 10. Wine (<\/a>W<\/a><\/strong>ine <\/a>I<\/a><\/strong>s <\/a>N<\/a><\/strong>ot an <\/a>E<\/a><\/strong>mulator)<\/a> is 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 According to Wine announcement page<\/a>, Wine 6.0 is now available. It comes with quite a number of bug fixes that you can read about on on the change log page<\/a>.<\/p>\n\n\n\n Wine is provided by the default Debian main repos. However, Wine 4.0 is the latest available version;<\/p>\n\n\n\n In order to be able to install Wine 6, you need to install the Official Wine repository as shown below;<\/p>\n\n\n\n Install Wine repository signing key.<\/p>\n\n\n\n Install the repositories;<\/p>\n\n\n\n The wine-stable packages will also require FAudio<\/em> libraries. Hence, run the command below to install OBS Faudio repository;<\/p>\n\n\n\n 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 Update the package cache;<\/p>\n\n\n\n To verify the enablement of the 32-bit architecture support;<\/p>\n\n\n\n You can now install Wine by running the command below;<\/p>\n\n\n\n Run the command below to check installed WIne version as a way to verify its installation;<\/p>\n\n\n\n You can now run system reboot to ensure that Wine environment is setup;<\/p>\n\n\n\n You can then run Windows applications on Debian 10 using Wine, for example, to run Putty (as a standard, non-root user);<\/p>\n\n\n\n If prompted to install Wine Mono\/Gecko, click install and proceed.<\/p>\n\n\n<\/figure>\n\n\n\n
Installing Wine 6 on Debian 10<\/h2>\n\n\n\n
Install Official Wine Repository<\/h3>\n\n\n\n
apt-cache policy wine<\/code><\/pre>\n\n\n\n
wine:\n Installed: (none)\n Candidate: 4.0-2\n Version table:\n 4.0-2 500\n 500 http:\/\/deb.debian.org\/debian buster\/main amd64 Packages<\/code><\/pre>\n\n\n\n
wget -qO - https:\/\/dl.winehq.org\/wine-builds\/winehq.key | sudo apt-key add -<\/code><\/pre>\n\n\n\n
sudo apt-add-repository 'deb http:\/\/dl.winehq.org\/wine-builds\/debian\/ buster main'<\/code><\/pre>\n\n\n\n
Install OBS Faudio Repository<\/h3>\n\n\n\n
wget -O- -q https:\/\/download.opensuse.org\/repositories\/Emulators:\/Wine:\/Debian\/Debian_10\/Release.key | sudo apt-key add -<\/code><\/pre>\n\n\n\n
sudo add-apt-repository 'deb http:\/\/download.opensuse.org\/repositories\/Emulators:\/Wine:\/Debian\/Debian_10 .\/'<\/code><\/pre>\n\n\n\n
Enable 32-bit System Support on Debian 10<\/h3>\n\n\n\n
sudo dpkg --add-architecture i386<\/code><\/pre>\n\n\n\n
apt update<\/code><\/pre>\n\n\n\n
dpkg --print-foreign-architectures<\/code><\/pre>\n\n\n\n
i386<\/code><\/pre>\n\n\n\n
Installing Wine 6<\/h3>\n\n\n\n
apt install --install-recommends winehq-stable<\/code><\/pre>\n\n\n\n
Verify Wine Installation<\/h3>\n\n\n\n
wine --version<\/code><\/pre>\n\n\n\n
wine-6.0<\/code><\/pre>\n\n\n\n
Reboot System<\/h3>\n\n\n\n
systemctl reboot<\/code><\/pre>\n\n\n\n
Run Windows Applications on Debian 10 using Wine<\/h3>\n\n\n\n
wine putty.exe<\/code><\/pre>\n\n\n\n