How To Install Wine 3 on Debian 8 (Jessie)

Channel: Linux
Abstract: Use one of the following commands to enable Wine apt repository in your system based on your operating system and version. sudo apt-add-repository htt

The Winehq team has announced the latest stable release 3.0 on January 18, 2018. Its source code is available for download from its official site. You may also use the package manager to install wine. Wine is an Open Source implementation of the Windows API and will always be free software. Approximately half of the source code is written by its volunteers, and remaining effort sponsored by commercial interests, especially CodeWeavers.

This article will help you to install Wine 3.0 Stable Release on Debian 8 Jessie system using the apt-get package manager.

Prerequsiteis

First of all, If you are running with 64-bit system enable 32-bit architecture. Also, import gpg key to your system.

sudo dpkg --add-architecture i386 
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

Use one of the following commands to enable Wine apt repository in your system based on your operating system and version.

sudo apt-add-repository https://dl.winehq.org/wine-builds/debian/
Install Wine on Debian 8

Use below commands to install Wine packages from the apt repository. The –install-recommends option will install all the recommended packages by winehq-stable on your system.

sudo apt-get update
sudo apt-get install --install-recommends winehq-stable

The wine packages are installed under /opt/wine-stable directory. So I set wine bin directory to PATH environment to access commands system-wide.

export PATH=$PATH:/opt/wine-stable/bin
Test Wine Version

Wine installation successfully completed. Use the following command to check the version of wine installed on your system

wine --version 

wine-3.0.4
How to Use Wine (Optional)

To use wine we need to login to the Debian desktop system. After that download a windows .exe file like PuTTY on your system and open it with Wine as below screenshot or use following command.

wine putty.exe

Ref From: tecadmin

Related articles