loading

Wine is a great tool which helps to launch Windows apps on Linux, Ubuntu systems etc. To learn all the details visit www.winehq.org (this is not an affiliate link)

The matter is that all of the applications for Windows are built for processors with so-called x86 architecture, while the systems, mentioned above can be used within a lot more variety of processors. For example, there is a type of processors with ARM architecture. They are also very popular and widely spread among professionals, who prefer to use this energy sufficient and cheap x86 alternative.

But the main problem the ARM users usually face is that x86 applications they normally need to be run on their ARM devices aren’t compatible with them! And here comes Wine to solve the problem.

But actually, wine can’t bring happiness all alone. It has to work with some kind of an emulator. In fact, Wine can only launch a software within Linux x86 environment, but itself needs this environment to be emulated on the hardware. To emulate this Linux x86 environment we have to use a professional x86 emulator that can make it up on ARM-based devices.

So, below, I am going to introduce my instructions on how to install Wine on Raspberry Pi and use it with one of the latest version of an emulator. I’ll use the screenshots for you to better understand the process.

Step 1: Download X86 Emulator

First thing you need an emulator to create an x86 environment for Wine to work within. There are different emulators, but I use ExaGaer Desktop. It's faster and it's got a good support with constant updates releases. To get the latest version of ExaGear v.2.1 use the link (this is an affiliate link to support my instructables.com account)

*Copy-past the link into your command line to implement "wget" command

Step 2: Get Into Downloads Folder

In this tutorials I use Raspberry Pi 3 and I am working directly from it. So, as soon as ExaGear has been downloaded, you have to get right in that directory to implement the further commands. For Raspbian this derictory is usually a "Downloads" folder. So the path will likely be

home/pi/Downloads

Use the "cd" command, as shown on the screenshot

Step 3: Unpack Emulator

Use "tar" command as shown on the screenshot.

tar -xvzpf exagear-desktop-rpi3.tar.gz

Step 4: Install Emulator

After unpacking ExaGear run the installation file, winch is called install "install-exagear.sh" with "sudo" command in the way it is shown on the screenshot.

sudo ./install-exagear.sh

Step 5: Switch on X86 System

After the installation is complete, you need to launch the guest x86 environment. For that simply input "exagear" command. To check if everything is working correctly, use "arch" command. You should have "i686" sign to be returned. Do it precisely as is shown on the screenshot.

All professionals highly recommend to update the repositories on the first launch of the guest x86 system. So do I. The command is:

sudo apt-get update

Step 6: Install Wine

Wine is kept in the Raspberry Pi repository, so it is very easy to install it on your device. Use the simple command:

sudo apt-get install wine

While installation you'll be asked about the permission to install a lot of different packages. Just type "y" to agree.

Step 7: Finishing the Installation of Wine

As soon as the installation of Wine is finished, you need to check the build of Wine. It should have the word "eltechs" in it, which means that this version of Wine has been made by Eltechs and is compatible with ExaGear Desktop emulator. But don't be afraid! If everything is done strictly in appliance with this tutorial, you won't have any problems. The command is:

wine --version

You should have "wine-1.8.1-eltechs" in return. (see the screenshot)

Step 8: Using Wine on Raspberry Pi

So, you have got Wine on your RPi now, which works within an environment made up with an emulator. So you can open ".exe" files to set up x86 apps on you Raspberry Pi. Don't forget to switch on the x86 environment first! Wine can only work with a connectionof emulator, otherwise it will never start.

To illustrate the general process, there should be used the following sets of commands (one goes after another):

exagear

then

wine some-software.exe

You will see a window with the habitual Windows installation manager. So, you should just follow the prompts and set up an application as if you were operating on some Windows device. After that any software installed in such a way can be launched directly from Raspbian start menu.

That's it! Enjoy :)

P.S. If you need (and/or willing to use) ExaGear Desktop which I used in my guide, please, get it here (this is an affiliate link to support my activity). Thank you!

<p>Thanks for sharing :)</p>

About This Instructable

202views

14favorites

License:

Bio: I like coding, making thing based on ARM processors, IOT stuff and other things connected to development and IT.
More by Francoix_Badreau:Create VPN on Your Raspberry Pi Device How to Set Up Wine on Raspberry Pi 
Add instructable to: