Running x86 Programs on the Rasp Pi
First Tests
With ExaGear Desktop, all (32-bit) programs running under Debian 8 can be run on the Rasp Pi. Eltechs has a collection of instructions for popular programs on its website, such as Skype for Linux or Wine as the basis for Windows programs. Often a video also shows the necessary steps. Anyone who has already installed programs under Raspbian will usually be able to do without these instructions.
The first candidate for the emulator was the open source Visual Studio Code (VSC) editor, which was developed by Microsoft and has since found a large community on GitHub. In addition, VSC runs on many platforms and has what it takes to send even my own XEmacs editor into retirement.
There are no precompiled binaries for Raspbian for the editor, and building your own binaries is tricky because of the many dependencies. Fortunately, the installation under ExaGear with the standard installation instructions from the VSC page [3] worked with virtually no problems. I had to install two dependencies manually, but this was not due to ExaGear.
However, the result of this first attempt was disappointing. VSC started via ExaGear could not be used under Raspbian. Launching the program consumed so many resources that the system seemed to hang. A little research on the Internet shows, however, that even a native ARM build under Raspbian can be very slow.
The lesson: Don't expect miracles from ExaGear (or Raspbian itself). Even though many programs run smoothly on a RPi3/RPi3B+, there are limits, and an additional emulation layer doesn't make things any better.
Saving Old Treasures
Much more important than modern and accordingly resource-hungry applications are old treasures, which you want to launch on Raspbian every now and then. This above all includes Windows programs from the last and penultimate generation.
For this you install the already mentioned Windows run-time environment Wine (Listing 4) under ExaGear. Eltechs provides a custom version whose package name contains the string "eltechs". The Windows Explorer celebrates its resurrection under Raspbian (Figure 3).
Listing 4
Installing Wine
$ sudo apt update $ sudo full-upgrade $ sudo apt install wine $ wine --version wine-2.0-eltechs
This additional emulation layer costs surprisingly little power. This is because only Windows system calls have to be translated to the analog kernel commands, but not the x86 to the ARM command set. After the Wine installation, supported Windows programs (32-bit) can be installed in this environment. This does not always work without complications, but is well documented for a large number of programs [4] and independent of the Raspbian and ExaGear substructure.
Wine typically supports older Windows programs, as the Windows command set has expanded over time and the Wine developers have to program for it. The advantage: Older programs were developed for weaker PC generations, so that a Rasp Pi's computing power including the emulator is usually sufficient. The freeware mp3DirectCut [5] for lossless editing of MP3 files, for example, runs smoothly and without problems (Figure 4).
Even old games may run smoothly with the combination of Wine plus ExaGear, if you believe the reports on the Internet. Due to my lack of experience in this field, however, this was not tested.
Conclusions
ExaGear's license terms are not very customer-friendly, especially in the basic version with the binding to a single Raspberry Pi board. One should therefore consider the choice of license carefully. However, if you don't want to do without an important program under Raspbian, you can pay the required amount after a performance test.
Infos
- Installing the ExaGear Desktop trial version: https://docs.eltechs.com/install-and-configure-exagear-desktop/how-to-install-exagear-desktop-trial
- ExaGear Desktop versions and pricing: https://eltechs.com/product/exagear-desktop/exagear-desktop-features-and-prices/
- Installing VSC: https://code.visualstudio.com/docs/setup/linux
- Installing Windows software under Wine: https://appdb.winehq.org/
- mp3DirectCut: http://mpesch3.de1.cc/mp3dc.html
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs