UbuntuAsahi / ubuntu-asahi

Native Ubuntu installations for Apple silicon hardware
https://ubuntuasahi.org/
867 stars 27 forks source link

Issues Installing amd64 and i386 Packages on ARM64 Ubuntu (MacBook Air M1) #143

Open kvkvlaa opened 3 weeks ago

kvkvlaa commented 3 weeks ago

I'm running Ubuntu 24.04.1 LTS on a MacBook Air M1, which uses an ARM64 architecture. I'm facing a few issues trying to install packages that require the amd64 and i386 architectures.

Here's what I've tried so far:

Wine and Steam Installation: When trying to install Wine and Steam, I've encountered dependency issues where certain libraries (like libc6:i386 and libegl1-mesa:arm64) either have "no installation candidate" or simply can't be found.

Enabling Multi-Architecture Support: I've tried enabling amd64 and i386 architectures with:

sudo dpkg --add-architecture i386 sudo dpkg --add-architecture amd64 sudo apt update

However, I still receive 404 errors when running apt update, specifically pointing out missing i386 packages, as well as unresolved dependencies for amd64 packages. Flatpak Installation: I attempted installing Steam via Flatpak as an alternative, but the Steam package doesn’t seem to be available on Flathub for ARM64, and installing through Flatpak hasn't resolved the compatibility issues.

My main goal is to run amd64 (and possibly i386) applications, particularly Steam and Wine, on ARM64 Ubuntu. Does anyone have a workaround, or has anyone successfully set up something similar on an ARM64 Ubuntu system?

tobhe commented 3 weeks ago

In short: you can't. The only way to run amd64 apps is through emulation, we don't have an easy way to set up emulation yet. On the Fedora side they worked on a steam package that does all the setup for you, this is still WIP for us.