This document supplements the relevant content for application publishing using UAB (Universal Application Bundle).
UAB (Universal Application Bundle) is a cross-distribution application packaging format designed to solve the compatibility issues of Linux applications across different distributions. It packages applications and all their dependencies into a single file, enabling one-click installation and operation.
- Cross-distribution compatibility: Applications packaged in UAB format can run on different Linux distributions
- One-click installation: Users only need to download one file to complete the installation
- Dependency self-contained: All dependencies are included in the package, avoiding dependency conflicts
- Easy to distribute: A single file is easy to transmit and share
Before creating a UAB package, you need to:
- Complete the development and testing of the application
- Ensure the application can run normally in the Linyaps environment
- Prepare the application's metadata information (name, version, description, etc.)
- Use
ll-builderto build the application:
ll-builder build- Export as UAB format:
ll-builder export --type=uab- The generated UAB file will be saved in the current directory, with the file name format:
{app-id}_{version}_{arch}.uab
The UAB file is essentially a compressed package containing:
- Application executable files and resource files
- All dependent libraries and runtime environments
- Application metadata and configuration files
- Installation scripts and desktop entry files
You can directly distribute the generated UAB file to users through the following methods:
- Official website download
- GitHub Releases
- Third-party software download sites
- USB flash drive or other storage media
Upload the UAB file to the Linyaps repository:
ll-builder push --repo=your-repoSubmit the application to the app store through the official channel, and the app store will automatically handle the UAB package and provide it to users for download.
Users can install UAB applications in the following ways:
ll-cli install ./your-app.uabDouble-click the UAB file, and the system will automatically call the Linyaps installer to complete the installation.
ll-cli listll-cli update your-app-idll-cli uninstall your-app-id- Version Management: Use semantic versioning (Semantic Versioning) to manage application versions
- Testing: Test on multiple distributions to ensure compatibility
- Documentation: Provide detailed installation and usage instructions
- Updates: Regularly update applications and dependencies
- Security: Ensure that applications and dependencies do not contain security vulnerabilities
- Check if the UAB file is complete
- Confirm that the system has Linyaps installed
- View error logs to locate the problem
- Check if dependencies are complete
- Confirm system compatibility
- View application logs
- Check network connection
- Confirm repository configuration
- View update logs
If you encounter problems during the UAB application publishing process, you can:
- View the official documentation: Linyaps Documentation
- Submit an Issue: GitHub Issues
- Community Support: Join the Linyaps community for discussion