Zum Inhalt springen
DeutschlandGPT

Linux

Deploying the DEB through the apt repository, the RPM and the AppImage, distribution requirements and updates

We ship three formats for Linux: a DEB for Debian and Ubuntu, an RPM for Fedora, RHEL and openSUSE, and an AppImage that runs on any distribution without a package manager. All three contain the same application, they only differ in how they reach the device.

FileInstalls toAdmin rightsAutomatic updatesIntended for
.deb/usr/bin, /usr/libyeswith apt upgradeCentral deployment through apt
.rpm/usr/bin, /usr/libyesnoCentral deployment through dnf
.AppImageanywhere you choosenoyes, if writableSelf-service, terminal servers
ValueContent
Current DEBhttps://www.deutschlandgpt.de/api/desktop/download/linux-deb
Current RPMhttps://www.deutschlandgpt.de/api/desktop/download/linux-rpm
Current AppImagehttps://www.deutschlandgpt.de/api/desktop/download/linux-appimage
Current versionhttps://www.deutschlandgpt.de/api/desktop/version/linux-deb
apt repositoryhttps://www.deutschlandgpt.de/api/desktop/apt

Requirements

The app is a Tauri application and uses the distribution's WebView instead of bundling its own browser engine. It requires 64-bit along with GTK 3 and WebKitGTK 4.1. Ubuntu 22.04, Debian 12 and Fedora 40 and newer meet that, among others.

Releases that only ship WebKitGTK 4.0 cannot start the app. If your fleet runs one of those, talk to us before you begin the rollout.

The AppImage additionally needs libfuse2. Without it, the AppImage still starts via --appimage-extract-and-run.

Setting up the apt repository

For Debian and Ubuntu we run a signed apt repository. It always holds the current version for 64-bit Intel/AMD and for ARM64, and apt picks the right architecture itself. Set it up once per device. A minimal installation sometimes lacks curl; install it first with sudo apt install curl ca-certificates.

BASH
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://www.deutschlandgpt.de/api/desktop/apt/deutschlandgpt.gpg \
  | sudo tee /etc/apt/keyrings/deutschlandgpt.gpg >/dev/null
echo "deb [signed-by=/etc/apt/keyrings/deutschlandgpt.gpg] https://www.deutschlandgpt.de/api/desktop/apt stable main" \
  | sudo tee /etc/apt/sources.list.d/deutschlandgpt.list
sudo apt update
sudo apt install deutschland-gpt

The package name is deutschland-gpt. From then on new versions arrive with the usual sudo apt update && sudo apt upgrade, or through unattended-upgrades once you allow the source there ("origin=DeutschlandGPT,codename=stable"; under Unattended-Upgrade::Origins-Pattern). If you installed the DEB by hand so far, just add the source. It is the same package, and apt takes it over on the next upgrade.

The repository only carries the current version. You cannot install an older one from it.

Installing the DEB on its own

Without the repository you install the file directly. The package installs for every user on the device and therefore needs root. apt resolves dependencies itself as long as you pass a path rather than a package name, so the argument has to contain a slash:

BASH
curl -fsSL -o /tmp/deutschlandgpt.deb \
  https://www.deutschlandgpt.de/api/desktop/download/linux-deb
sudo apt-get install -y /tmp/deutschlandgpt.deb

The same pattern works for Ansible, Salt or any other configuration tool. Because the URL is stable, the role never has to be touched for a release. The repository is usually simpler there, because the upgrade then runs with the rest of your packages.

Deploying the RPM through dnf

BASH
curl -fsSL -o /tmp/deutschlandgpt.rpm \
  https://www.deutschlandgpt.de/api/desktop/download/linux-rpm
sudo dnf install -y /tmp/deutschlandgpt.rpm

On openSUSE use sudo zypper --no-gpg-checks install /tmp/deutschlandgpt.rpm instead.

We do not run a dnf repository, so the RPM is not signed with a GPG key your package manager knows. Provenance comes from the TLS download from www.deutschlandgpt.de. If your environment requires a signed dnf repository, talk to us.

Deploying the AppImage

The AppImage needs neither root nor a package manager. It only has to be executable:

BASH
sudo mkdir -p /opt/deutschlandgpt
sudo curl -fsSL -o /opt/deutschlandgpt/DeutschlandGPT.AppImage \
  https://www.deutschlandgpt.de/api/desktop/download/linux-appimage
sudo chmod +x /opt/deutschlandgpt/DeutschlandGPT.AppImage

Add a launcher to the application menu with a desktop entry:

INI
[Desktop Entry]
Type=Application
Name=DeutschlandGPT
Exec=/opt/deutschlandgpt/DeutschlandGPT.AppImage
Icon=deutschlandgpt
Categories=Office;Network;
Terminal=false

Place the file at /usr/share/applications/deutschlandgpt.desktop so it applies to every user, then run update-desktop-database /usr/share/applications.

Updates

The AppImage is the only Linux format with automatic updates. The app replaces its own file, which only works if the signed-in user may write to it. If the AppImage sits under /opt and is owned by root, the app disables updates, exactly as it does for an MSI installation on Windows. Deployment is then entirely up to you.

DEB and RPM never update themselves, not even from within the app. With the apt repository every new version arrives through apt upgrade. A DEB installed by hand stays on its version until you install the new file or switch to the repository. Deploy a new RPM through the same URL as the initial install; dnf recognises the higher version and replaces the package. When DeutschlandGPT sets a deadline for an older version, the update has to be on every device before the lock date for managed installations.

To check whether a newer version exists without a JSON parser, use the version endpoint:

BASH
curl -fsL https://www.deutschlandgpt.de/api/desktop/version/linux-deb

The app does not read the DisableAutoUpdate and ForceAutoUpdate policies on Linux. How automatic updates behave in general and what happens with a deadline is on Controlling updates.

Signatures

Linux has no equivalent to Apple notarisation or Authenticode. None of the three formats carries a signature the operating system verifies before launch. Provenance comes from the TLS download from www.deutschlandgpt.de, which redirects to our CDN.

The apt repository is also signed with GPG. apt checks the index signature against the key in /etc/apt/keyrings/deutschlandgpt.gpg and every DEB against the checksum in the index. It does not install a file that was altered on the way.

Network

Firewall and proxy requirements are the same as for the running app. The full list is on Network requirements.

Was this page helpful?