Monday, September 22, 2025

AsteroidOS on Alpine Linux

I tried AsteroidOS on Alpine Linux.
Alpine Linux from 3.21 include AsteroidOS packages in community repository.

My Japanese Blog "AsteroidOS" Tag Link
My Japanese Blog "Alpine" Tag Link

Use Environment
Windows 10 x64
VirtualBox 7.1 and 7.2
Alpine Linux 3.22 and edge

1.Alpine Linux install.

2.Enable community repository.
# vi /etc/apk/repositories
uncomment out community repository.

3.Install packages.
# apk update
repository refresh.
# apk add asteroid-launcher
Many dependent packages install too.
# apk add asteroid-alarmclock asteroid-btsyncd asteroid-calculator asteroid-calendar asteroid-camera asteroid-compass asteroid-diamonds asteroid-flashlight asteroid-hrm asteroid-icons-ion asteroid-languages asteroid-music asteroid-settings asteroid-stopwatch asteroid-timer asteroid-wallpapers asteroid-weather qml-asteroid
# apk add qt5-qtbase-sqlite
# setup-wayland-base

If you need Japanese font.
# apk add font-noto-cjk font-noto-cjk-extra

4.Enable service
# rc-service dbus start
# rc-update add dbus

# rc-service mce start
# rc-update add mce
# mcetool -j enabled

5.Run AsteroidOS
I used SSH from host OS.
In the case of root.
# export XDG_RUNTIME_DIR=/tmp/runtime-root
# asteroid-launcher -platform eglfs &
# /usr/libexec/mapplauncherd/booster-qt5 -d

In the case on generic user(ex. asteroid).
$ export XDG_RUNTIME_DIR=/tmp/runtime-asteroid
$ asteroid-launcher -platform eglfs &
$ /usr/libexec/mapplauncherd/booster-qt5 -d

P.S.
I thought problem that is mapplauncherd package in 3.21.
UI worked but Apps didn't work.
Its package in 3.22 and edge is newer. It's OK.