Skip to content
Arbinel

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.

sudo curl -fsSL https://codefloe.com/api/packages/arbinel/debian/repository.key -o /etc/apt/keyrings/arbinel.asc
echo "deb [signed-by=/etc/apt/keyrings/arbinel.asc] https://codefloe.com/api/packages/arbinel/debian stable main" | sudo tee /etc/apt/sources.list.d/arbinel.list
sudo apt update
sudo apt install arbinel

On Fedora and RHEL with dnf 5:

sudo dnf config-manager addrepo --from-repofile=https://codefloe.com/api/packages/arbinel/rpm/stable.repo
sudo dnf install arbinel

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.

cd /etc/apk/keys
sudo curl -fsSLJO https://codefloe.com/api/packages/arbinel/alpine/key
echo "https://codefloe.com/api/packages/arbinel/alpine/stable/main" | sudo tee -a /etc/apk/repositories
sudo apk add arbinel

Install arbinel-bin from the AUR with your AUR helper, or build it with makepkg:

git clone https://aur.archlinux.org/arbinel-bin.git
cd arbinel-bin
makepkg -si

makepkg checks the binary’s GPG signature, so import the Arbinel signing key first, as Release binaries describes.

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:

sudo systemctl enable --now forgejo

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.