PackHub dynamically creates virtual Linux package repositories (apt
, dnf
, yum
, etc.) on the fly, pulling directly from GitHub Releases. No need for centralized repositories—just seamless installations.
Tip
This project is powered by github 🌟s. Go ahead and star it please!
- Decentralized Package Management – Install packages directly from GitHub Releases.
- Seamless Updates – Automatically fetches the latest releases and updates your package manager.
- Smart Versioning – Detects your system version and selects the most compatible package.
- Developer Freedom – No need to maintain separate repositories or rely on a maintainer.
- User Empowerment – Get the apps you need instantly, without waiting for repositories or manual downloads.
To install Linux packages from a GitHub repository using PackHub, the repository must have published Linux packages in its Releases. You'll also need to set up the PackHub repository in your system's package manager.
Replace OWNER
with the repository owner's name and REPO
with the repository name. For example, for https://github.com/sindresorhus/caprine
, use sindresorhus
as OWNER
and caprine
as REPO
.
If you're unsure, visit packhub.dev to generate the correct command for your repository.
wget -qO- http://packhub.dev/sh/ubuntu/github/OWNER/REPO | sh
wget -qO- http://packhub.dev/sh/debian/github/OWNER/REPO | sh
wget -qO- http://packhub.dev/sh/yum/github/OWNER/REPO | sh
wget -qO- http://packhub.dev/sh/zypp/github/OWNER/REPO | sh
Once the PackHub repository is set up, you can install packages using your system’s package manager (apt
, dnf
, yum
, etc.).
- Rust – Ensuring performance, safety, and concurrency.
- Axum – A powerful, async web framework for Rust.
- Repology - Leverages its API to gather
apt
package versions from Ubuntu and Debian repositories. - octocrab - A modern, extensible GitHub API client.
- rpm - A pure rust library for building and parsing RPMs.
- sequoia-openpgp - OpenPGP key generation and message signing.
Additional dependencies can be found in the Cargo.toml
file.
We welcome contributions! To get started:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Open a Pull Request.
Special thanks to Md. Asadujjaman Noor (@gold-4N) for providing valuable guidance on OpenPGP key generation and the signing process, as well as facilitating a discount from the hosting provider!
PackHub is licensed under the GPLv3 License.
Made with ❤️ by Muhammad Mominul Huque and ✨ contributors ✨!