Linyaps

Linyaps

玲珑是一种新型的独立包管理工具集,致力于治理Linux系统下传统软件包格式复杂、交叉的依赖关系导致的各种兼容性问题,以及过于松散的权限管控导致的安全风险。

公告

README

Linyaps: Next-Gen Universal Package Manager for Linux

📦 Introduction

English | 简体中文

Contributors Latest Release Powered by Linyaps Build Status DeepSource

GitHub Stars GitHub Forks Code Size GitHub Issues

Packaging status

Linyaps (Linyaps Is Not Yet Another Packaging System) is a cross-distribution Linux package format developed and open-sourced by the Linyaps community. It implements application packaging, management, and distribution through independent sandbox containers, aiming to replace traditional package managers like deb and rpm. Linyaps ensures Linux software runs with better compatibility, security, and efficiency.

✨ Highlights

  • Innovative Partial Runtime Design: Based on a standardized sandbox Runtime, applications can be built once and run across all Linux distributions. Multiple Runtime versions coexist with shared files to reduce redundancy. Shared resources are reused during startup via dynamic libraries, significantly improving speed and avoiding dependency conflicts.
  • Non-Privileged Sandbox with Dual-Layer Isolation: Runs without root privileges by default. Utilizes kernel Namespace isolation (process/filesystem/network) to create a secure sandbox. Atomic incremental updates and version rollbacks are provided via OSTree repositories, resulting in lower resource consumption compared to full sandbox solutions.

🎏 Progress

  • Supported Distributions: deepin, UOS, openEuler, Ubuntu, Debian, openKylin, Anolis OS. More distributions are under adaptation. Contributions are welcome.
  • CPU Architectures: X86, ARM64, LoongArch. Future support for RISC-V and others.

⚙️ Installation

Installation instructions for supported distributions:

deepin 23

Install:

echo "deb [trusted=yes] https://ci.deepin.com/repo/obs/linglong:/CI:/release/Deepin_23/ ./" | sudo tee /etc/apt/sources.list.d/linglong.list
sudo apt update
sudo apt install linglong-bin

Fedora 41

sudo dnf config-manager addrepo --from-repofile "https://ci.deepin.com/repo/obs/linglong:/CI:/release/Fedora_41/linglong%3ACI%3Arelease.repo"
sudo dnf update
sudo dnf install linglong-bin

Ubuntu 24.04

echo "deb [trusted=yes] https://ci.deepin.com/repo/obs/linglong:/CI:/release/xUbuntu_24.04/ ./" | sudo tee /etc/apt/sources.list.d/linglong.list
sudo apt update
sudo apt install linglong-bin

Debian 12

echo "deb [trusted=yes] https://ci.deepin.com/repo/obs/linglong:/CI:/release/Debian_12/ ./" | sudo tee /etc/apt/sources.list.d/linglong.list
sudo apt update
sudo apt install linglong-bin

openEuler 23.09

sudo dnf config-manager --add-repo "https://ci.deepin.com/repo/obs/linglong:/CI:/release/openEuler_23.09/linglong%3ACI%3Arelease.repo"
sudo sh -c "echo gpgcheck=0 >> /etc/yum.repos.d/linglong%3ACI%3Arelease.repo"
sudo dnf update
sudo dnf install linglong-bin

uos 1070

echo "deb [trusted=yes] https://ci.deepin.com/repo/obs/linglong:/CI:/release/uos_1070/ ./" | sudo tee /etc/apt/sources.list.d/linglong.list
sudo apt update
sudo apt install linglong-bin

AnolisOS 8

sudo dnf config-manager addrepo --from-repofile "https://ci.deepin.com/repo/obs/linglong:/CI:/release/AnolisOS_8/linglong%3ACI%3Arelease.repo"
sudo dnf update
sudo dnf install linglong-bin

openkylin 2.0

echo "deb [trusted=yes] https://ci.deepin.com/repo/obs/linglong:/CI:/release/openkylin_2.0/ ./" | sudo tee /etc/apt/sources.list.d/linglong.list
sudo apt update
sudo apt install linglong-bin

🚀 Quick Start

ll-cli install cn.org.linyaps.demo
ll-cli run cn.org.linyaps.demo

🎯 Motivation

Why develop Linyaps when Snap, Flatpak, and AppImage already exist?

  • In 2017, we evaluated Flatpak and built 100+ packages, but discontinued due to large application size, excessive disk usage, and slow security fixes.
  • Snap has compatibility issues outside Ubuntu and lacks an open ecosystem.
  • AppImage offers portability but lacks centralized repository management and robust sandboxing, compromising security.

After extensive experimentation, we designed Linyaps to address these shortcomings. Key advantages over alternatives include:

  • Partial Runtime: Smaller footprint and faster startup via shared resources.
  • Rootless Sandbox: Enhanced security without requiring root privileges.

Benchmark results demonstrate Linyaps' performance superiority:

Test # Linyaps Frames Linyaps Time (ms) Flatpak Frames Flatpak Time (ms) AppImage Frames AppImage Time (ms) Snap Frames Snap Time (ms)
1 9 149.4 14 232.4 16 265.6 42 697.2
2 9 149.4 13 215.8 17 282.2 41 680.6
3 8 132.8 9 149.4 15 249 40 664
4 9 149.4 13 215.8 15 249 41 680.6
5 8 132.8 14 232.4 16 265.6 42 697.2
6 8 132.8 13 215.8 15 249 39 664
7 9 149.4 12 199.2 15 249 39 647.4
8 8 132.8 14 232.4 16 265.6 40 680.6
Avg 8.5 141.1 12.8 213.7 15.6 261.6 40.5 676.2

📨 Getting Help

For assistance, use the following channels:

📝 Documentation

Command-line Tools

Build Tools

Package Conversion Tools

deb Conversion

AppImage Conversion

Flatpak Conversion

Debugging

FAQs

📖 Learning Resources

Getting Started

Building and Packaging

Reference Documentation

Advanced Topics

Tutorial Series

Explore more tutorials at Linyaps Official Website.

⚒️ Contribution

We welcome issue reports and contributions. See the Developer Guide for instructions on building Linyaps from source.

Start discussions on GitHub Discussions.

⚖️ License

Licensed under LGPL-3.0-or-later.

👥 Community

Acknowledgment to all contributors! Visit our Community Page.

Contributors

If Linyaps helps you, consider giving it a Star or Fork.

热门项目
5

如意玲珑:更先进的 Linux 跨发行版软件包管理工具集, 是由如意玲珑社区团队开发并开源共建的Linux 跨发行版软件包格式,项目以独立沙盒容器的形式实现应用包的开发、管理、分发,用于替代 deb、rpm 等传统包管理工具,让 Linux 软件运行更兼容、更安全、更高效。

1

玲珑加载器:用来启动uab格式的玲珑包。

0

Linglong Home Page: 玲珑文档网页,该项目是一个前端项目,将玲珑项目下的文档转换成官网(https://linyaps.org.cn)的文档。

0

该项目是一个简单的 OCI 运行时,主要由 linyaps 使用。

0

如意玲珑社区组织介绍

  • 玲珑加载器:用来启动uab格式的玲珑包。

    C++
    1
    0
    LGPL-3.0
    更新于 6 小时前
    Star
  • linglong-dbus-proxy 是在 linglong-box 中运行的 linglong 应用程序的 dbus 代理。

    C++
    0
    0
    LGPL-3.0
    更新于 7 小时前
    Star
  • Linglong Home Page: 玲珑文档网页,该项目是一个前端项目,将玲珑项目下的文档转换成官网(https://linyaps.org.cn)的文档。

    TypeScript
    0
    0
    LGPL-3.0
    更新于 7 小时前
    Star
  • 该项目是一个简单的 OCI 运行时,主要由 linyaps 使用。

    C++
    0
    0
    LGPL-3.0
    更新于 8 小时前
    Star
  • 玲珑网页商店

    Vue
    0
    0
    LGPL-3.0
    更新于 8 小时前
    Star
  • 如意玲珑:更先进的 Linux 跨发行版软件包管理工具集, 是由如意玲珑社区团队开发并开源共建的Linux 跨发行版软件包格式,项目以独立沙盒容器的形式实现应用包的开发、管理、分发,用于替代 deb、rpm 等传统包管理工具,让 Linux 软件运行更兼容、更安全、更高效。

    C++
    5
    0
    LGPL-3.0
    更新于 2025年12月9日
    Star
  • 如意玲珑社区组织介绍

    0
    1
    更新于 11 天前
    Star
  • 暂无简介

    0
    0
    更新于 2025年11月18日
    Star
查看全部项目 >
公告
成就
6
Star
1
Fork
63
Download
常用语言
C++
CMake
Shell
Mustache
Python