ll-pica Introduction
This tool currently provides the capability to convert DEB packages into Linglong packages. Generate the required linglong.yaml
file for building Linglong applications and rely on ll-builder
to implement application build and export. Only software packages that comply with the app store packaging standards are supported for conversion.
TIP
The conversion tool is merely an auxiliary tool and does not guarantee that the converted application will definitely run. It's possible that the software depends on libraries installed in paths or other configuration paths that do not align with those inside LingLong's internal structure, leading to the inability to execute. In such cases, you would need to use the command ll-builder run --exec bash
to enter the container for debugging purposes.
The following situations are likely to result in unsuccessful execution:
- Packages related to Wine, Android emulators, input methods, and security software cannot be converted.
- The package utilizes preinst, postinst, prerm, and postrm scripts.
- It is necessary to read configuration files from a fixed path.
- Need to obtain root permissions.
View the help information for the ll-pica
command:
ll-pica --help
Here is the output:
Convert the deb to uab. For example:
Simple:
ll-pica init -c package -w work-dir
ll-pica convert -c package.yaml -w work-dir
ll-pica help
Usage:
ll-pica [command]
Available Commands:
adep Add dependency packages to linglong.yaml
convert Convert deb to uab
help Help about any command
init init config template
Flags:
-h, --help help for ll-pica
-V, --verbose verbose output
-v, --version version for ll-pica
Use "ll-pica [command] --help" for more information about a command.