


















暂无文章
OmniPackage is an open-source CLI that builds native Linux packages and publishes them to your own apt, dnf, zypper, or pacman repository on S3-compatible storage or a local filesystem. It scaffolds an RPM spec file, the DEB equivalents, and a PKGBUILD, then runs rpmbuild, dpkg-buildpackage, and makepkg in containers for each supported distro. Because each container runs that distro, your software is built against the distro's own libraries and its dependencies are declared as native packages — so the system package manager resolves them automatically. Packages are signed with your GPG key and uploaded to your bucket or directory, which serves as the repository. It also generates an install page — share the link, and your users are done.
One command to build, sign, and publish your packages:
~/projects/my-awesome-project
omnipackage release ~/projects/my-awesome-project
OmniPackage scaffolds an RPM spec file and the other files RPM, DEB, and pacman packaging need.
Add your storage details — an S3-compatible bucket or a local filesystem path — and a few config options, then run omnipackage release. Each package is built in a container running its target distro, so it links against that distro's own libraries and its dependencies resolve as native packages — guaranteed solved, with no version skew or bundled runtimes. Packages are signed with your GPG key and published to your repository.
Share the install page generated with the packages so users can add the repository and install with their native package manager.
On the latest Ubuntu, for example, four commands add the repository and install your package:
user@ubuntu:~$
echo 'deb https://repositories.omnipackage.org/omnipackage-rs/stable/ubuntu_26.04 stable/' | sudo tee /etc/apt/sources.list.d/omnipackage_omnipackage.list
curl -fsSL https://repositories.omnipackage.org/omnipackage-rs/stable/ubuntu_26.04/stable/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/omnipackage_omnipackage.gpg > /dev/null
sudo apt-get update
sudo apt-get install omnipackage
Users do this once. After that, updates arrive through apt upgrade alongside everything else from the official Ubuntu repos — no extra steps, no separate updater. The same applies on Debian, Fedora, openSUSE, Arch, and the other supported distros, each through its native package manager.
Packages are built for the build host's architecture. All supported base images except Mageia are multiarch, so both x86_64 and ARM64 work.
Loading supported distros…
Fetched live from distros.yml in the OmniPackage repo.
apt install package gets — no Flatpak-style isolation unless you ship it yourself (e.g. an AppArmor / SELinux profile, or a bwrap / firejail wrapper around your binary).Does OmniPackage require Docker?
No. Podman works too and is recommended — it is the most-tested runtime. Docker is supported as well. Either is auto-detected; you can force one with the --container-runtime flag.
Can I distribute proprietary software with OmniPackage?
Yes. Unlike official distro repositories, your own OmniPackage repository can host any binaries you want, including closed-source ones.
How is OmniPackage different from Snap, Flatpak, or AppImage?
Snap and Flatpak ship their own runtimes; AppImage bundles dependencies. OmniPackage builds native Linux packages so users install with apt, dnf, zypper, or pacman — no extra runtime, no sandbox, no separate installer. Updates arrive through the system package manager alongside everything else.
What architectures does OmniPackage support?
Packages are built for the host's architecture. All supported base images except Mageia are multiarch, so both x86_64 and ARM64 work — run OmniPackage on the architecture you want the packages to target.
Can I host the apt or yum repository on AWS, Cloudflare R2, or MinIO?
Yes. OmniPackage publishes to any S3-compatible storage or a local filesystem path. Cloudflare R2 is recommended for free egress; AWS S3 and MinIO also work, as does any other S3-compatible service. The bucket (or local directory) serves as a self-hosted apt, dnf, zypper, or pacman repository.
Is OmniPackage free?
Yes. OmniPackage is free and open-source software, licensed under GPL-3.0.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。