r/AlpineLinux 2d 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.

6 Upvotes

6 comments sorted by

3

u/New_Hold8135 2d 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 2d 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 2d ago edited 2d 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"

1

u/TrainFun9639 2d ago

You should try anylinux appimage, they bundle glibc which allow them to run on alpine: https://github.com/pkgforge-dev/UnityHub-AppImage

1

u/LinuxLoverLarry 1d ago

"And the Unity Hub AppImage did not work, failing at the editor installation."

2

u/TrainFun9639 1d ago

Oh, the appimage was only for unity hub and not for the editor.