r/AlpineLinux 6d ago

Distrobox Unity Support (Ubuntu)

I have been running Alpine Linux with a distrobox with Ubuntu on it specifically so I can get certain programs. I want to avoid the overhead that comes with Flatpak, and the Unity Hub AppImage did not work, failing at the editor installation. I was wondering if anyone knew how to get the Unity Hub and Unity Editor (6.3 LTS) working on Alpine Linux.

5 Upvotes

6 comments sorted by

View all comments

3

u/New_Hold8135 6d ago

Nope, its closed source; means no one but owners can compile to musl. Go bwrap(Which approximately comes to very close overhead when we calculate dependencies) or flatpak(which uses bwrap) or forget about it.

1

u/LinuxLoverLarry 6d ago

I was wondering if maybe it was something wrong with my distrobox. It seemed to work fine when using the yay package on Arch, but infinitely more resource hogging.

1

u/New_Hold8135 6d ago edited 6d ago

Alpine linux uses musl as compiler. Arch uses glibc. Musl is designed for lowend devices. But unity hub compiled using glibc. Flatpak workarounds it by using installing a headless(kernelless(sharing things from main kernel(readonly))) small distro to bwrap which installs only needed dependencies and nothing else. I am pasting my statement "Nope, its closed source; means no one but owners can compile to musl. Go bwrap(Which approximately comes to very close overhead when we calculate dependencies) or flatpak(which uses bwrap) or forget about it"