Linux packages
Every Arbinel release has deb, rpm and apk packages for amd64 and arm64, and an arbinel-bin package in the AUR.
They contain the same static binary as the release binaries, so one package works on every release of a distribution.
Debian and Ubuntu
Section titled “Debian and Ubuntu”Fedora, RHEL and openSUSE
Section titled “Fedora, RHEL and openSUSE”On Fedora and RHEL with dnf 5:
With dnf 4, add the repository with sudo dnf config-manager --add-repo https://codefloe.com/api/packages/arbinel/rpm/stable.repo instead.
On openSUSE, run sudo zypper addrepo https://codefloe.com/api/packages/arbinel/rpm/stable.repo and then sudo zypper install arbinel.
Alpine Linux
Section titled “Alpine Linux”Arch Linux
Section titled “Arch Linux”Install arbinel-bin from the AUR with your AUR helper, or build it with makepkg:
makepkg checks the binary’s GPG signature, so import the Arbinel signing key first, as Release binaries describes.
What the packages set up
Section titled “What the packages set up”The packages lay Arbinel out the way the distributions package Forgejo:
| Path | Content |
|---|---|
/usr/bin/forgejo |
The Arbinel binary, with /usr/bin/arbinel as a link to it. |
/etc/forgejo/app.ini |
The configuration, which the web installer writes on the first start. |
/var/lib/forgejo |
The work directory, where Arbinel keeps the data and repositories by default. |
forgejo |
The system user and group that Arbinel runs as. |
forgejo.service |
The systemd unit, also available as arbinel.service. On Alpine, the OpenRC service forgejo, with settings in /etc/conf.d/forgejo. |
The packages declare that they provide, replace and conflict with forgejo, so installing one removes a distribution’s Forgejo package and keeps its configuration and data.
Install the Arbinel release built on the Forgejo version you run, as Switch from Forgejo explains.
The packages neither enable nor start the service. After the first install, start it and finish the setup in the browser:
On Alpine, run sudo rc-update add forgejo and sudo rc-service forgejo start.
After an upgrade, restart the service when you are ready, as Upgrading describes.