installing Exagear Desktop on the newer Raspberry Pies
thanks to this guide.
Exagear Desktop is a discontinued piece of software that could be used to emulate x86 applications on ARM devices.
First install prerequisites with apt
sudo apt-get update
sudo apt-get install -y bash coreutils findutils curl binfmt-support cron
Create a new directory (to download the packages and key)
mkdir ~/exagear
cd ~/exagear
Download and install required Exagear packages (follow the instructions for your bitness)
# 32-bit
wget https://archive.org/download/exagear-desktop_202111/exagear_3428-1_armhf.deb
wget https://archive.org/download/exagear-desktop_202111/exagear-dsound-server_010_armhf.deb
wget https://archive.org/download/exagear-desktop_202111/exagear-guest-debian-9_3428_all.deb
sudo dpkg -i exagear_3428-1_armhf.deb
sudo dpkg -i exagear-dsound-server_010_armhf.deb
sudo dpkg -i exagear-guest-debian-9_3428_all.deb
# 64-bit
wget https://archive.org/download/exagear-desktop_202111/exagear_3428-1_arm64.deb
wget https://archive.org/download/exagear-desktop_202111/exagear-dsound-server_010_arm64.deb
wget https://archive.org/download/exagear-desktop_202111/exagear-guest-debian-9_3428_all.deb
sudo dpkg -i exagear_3428-1_arm64.deb
sudo dpkg -i exagear-dsound-server_010_arm64.deb
sudo dpkg -i exagear-guest-debian-9_3428_all.deb
Patch exagear license
wget https://archive.org/download/exagear-desktop_202111/patch.sh; sudo bash patch.sh
Run sudo nano /etc/sudoers, and change the @ in line 54 to # and reboot your system.
After reboot, run sudo exagear, and you're in an x86 environment!
Once inside the environment, run rm -rf /var/lib/apt/lists/* and then nano /etc/apt/sources.list.
Then replace the contents of the file with:
deb [trusted=yes] http://archive.debian.org/debian stretch main
deb-src [trusted=yes] http://archive.debian.org/debian stretch main
Next, update the time with nano /etc/sudoers.d/010_global-tty and replace the contents of that file with: Defaults passwd_timeout=0.
Lastly, update and get wine:
sudo apt-get clean
sudo apt-get update && sudo apt-get install wine winbind -y