Install Wine on Linux Mint/Ubuntu using WineHQ Repository

Wine which stands for for Wine is not an Emulator, is an open-source software application that allows Linux users to run Windows programs. This can be helpful for programmers who have to test the compatibility of programs and scripts with Windows. As at the time of writing this post, the latest stable release was 1.6.2. See Wine Announcement for full details of this release

This release had been tested on the different editions of Linux Mint 16 and Ubuntu 13.10 and it works. I haven’t tested this on any other versions, but if you have please feel free to comment so others would know.

Step 1: Add the WineHQ PPA Repository

Please note that the latest release package 1.6.2 isn’t currently available in WineHQ PPA. So what will be installed is 1.6.1

wine-00

– Open the Terminal console, type in the following command

[code language=”js”]sudo add-apt-repository ppa:ubuntu-wine/ppa[/code]

wine-01

Step 2: Update APT package

[code language=”js”]sudo apt-get update[/code]

Step 3: Install Wine

[code language=”js”]sudo apt-get install wine1.6[/code]

wine-04

Step 4: Install Windows Application

– For this sample I will install Notepad++. So download the “EXE” version of Notepad++ and save it. Note the location where its saved or preferably move it to the desktop

wine-03

– Open the terminal console and change directory to where the .EXE file is

wine-05

– Then type the following command to install Notepad++

[code language=”js”]wine npp.6.5.3.Installer.exe[/code]

– This would launch the normal install process similar to when installing on a Windows machine. Go through the install process and accept default installation directory

wine-05a

– On completion, click finish and Wine would launch Notepad++

wine-06

Step 5: Create a Desktop Icon

– If you want to run the application next time, your best option is to create a desktop icon. To do this, right-click on your desktop and click on “Create a new launcher here…“. Fill in the details as follows and DO NOT check the box “Launch in Terminal?

Name:

[code language=”js”]Notepad++[/code]

Command:

[code language=”js”]wine /home/sysadmin/.wine/drive_c/Program\ Files\ (x86)/Notepad++/notepad++.exe[/code]

wine-07

Now you can go ahead and install other programs.

Please feel free to share your install experience 🙂

 
comments powered by Disqus