AITMONDO

deepin publishes a guide to distributing Linux apps with Linyaps

A translucent golden box sits on a desk. Two monitors and a laptop behind it display boxes of the same shape.
Illustration of distributing the same app package to multiple Linux environments. Illustration: AITMONDO (AI-generated and drawn in SVG). AITMONDO original illustration.

The deepin Linux distribution published a packaging guide for Linyaps (如意玲珑), an open-source app distribution platform, on November 10. Using the Motrix download manager as its example, the guide shows developers how to take an existing deb package and build a package in another format.

Extract a deb package and arrange its files for Linyaps. Write the configuration, build the package and export it in UAB format.
AITMONDO graphic based on primary sources.

A package format for multiple Linux environments

Linyaps is a project incubated and operated by the OpenAtom Foundation. According to deepin, Linyaps uses lightweight containers to isolate apps and enable the same app to run on multiple Linux distributions, including deepin, UOS, Debian, Ubuntu and Arch. The runtime comes with deepin 25 by default.

Motrix as an example, from configuration to export

The guide shows how to prepare a workspace, extract the existing deb package and arrange its files in the layout Linyaps expects. It then describes using the linglong.yaml configuration file to specify fields such as the package name, target CPU architecture and startup command. The final steps are to build, export the app as a UAB package and install it.

Primary sources