With a repository, your normal system updates (apt upgrade, dnf upgrade, your AUR helper) also update OpenCrate. Both x86-64 and ARM64 (aarch64) are available.
sudo install -d -m 0755 /usr/share/keyrings
curl -fsSL https://github.com/Vasilakious/OpenCrate/releases/download/apt-repo/opencrate-archive-keyring.gpg \
| sudo tee /usr/share/keyrings/opencrate-archive-keyring.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/opencrate-archive-keyring.gpg] https://github.com/Vasilakious/OpenCrate/releases/download/apt-repo/ ./" \
| sudo tee /etc/apt/sources.list.d/opencrate.list
sudo apt update && sudo apt install opencrate
sudo curl -fsSL -o /etc/yum.repos.d/opencrate.repo https://vasilakious.github.io/OpenCrate/rpm/opencrate.repo
sudo dnf install opencrate
The repository metadata is signed (repo_gpgcheck=1); dnf asks you once to accept the OpenCrate key.
yay -S opencrate-bin # or paru -S opencrate-bin
opencrate-bin repackages the official .deb from the GitHub release and checks its SHA-256.
sudo rm /etc/apt/sources.list.d/opencrate.list /usr/share/keyrings/opencrate-archive-keyring.gpgsudo rm /etc/yum.repos.d/opencrate.repoThe workflow .github/workflows/linux-repos.yml runs after the release build finishes (or by hand with a tag). It:
.deb and .rpm files (x86-64 and arm64),Packages, Release, signed InRelease and Release.gpg) with scripts/linux-repo.js apt and uploads it, with the packages, to a rolling pre-release named apt-repo (older packages are removed from it);createrepo_c with --baseurl pointing at the release downloads, signs repomd.xml and publishes the metadata and opencrate.repo to GitHub Pages under /rpm (the packages themselves stay on the release, so Pages’ size limits do not matter);PKGBUILD and .SRCINFO with scripts/linux-repo.js aur and pushes them to aur.archlinux.org/opencrate-bin.git.gpg --quick-gen-key "OpenCrate repositories <you@example.com>" ed25519 sign 5y
gpg --armor --export-secret-keys "OpenCrate repositories" > repo-key.asc
Add the contents of repo-key.asc as the repository secret LINUX_REPO_GPG_KEY (and the passphrase, if any, as LINUX_REPO_GPG_PASSPHRASE). Delete repo-key.asc afterwards and keep an offline backup of the key: changing it later means every user has to import the new key.
gh-pages / root. The first workflow run creates the branch.opencrate-bin package on aur.archlinux.org with an SSH key, and add the private key as AUR_SSH_PRIVATE_KEY. Without it, the workflow keeps the generated PKGBUILD as a downloadable artifact.node scripts/linux-repo.js apt dist/*.deb /tmp/apt-test
node scripts/linux-repo.js aur 1.6.3 <sha256-amd64> <sha256-arm64> /tmp/aur-test