Script to install the official Claude Desktop Linux beta on Fedora (no root, verified, auto-updates)

Anthropic’s Linux beta of Claude Desktop only comes as a .deb for Debian and Ubuntu. I wanted it on Fedora 44 without adding someone else’s package repo, so I wrote a Bash script for it. It downloads Anthropic’s package, checks the signing key fingerprint, the signed index (including its expiry date) and both checksums, then unpacks it into ~/.local. The app files stay exactly as Anthropic ships them, and installing needs no root (only the optional cowork step uses sudo, to install Fedora packages and set up KVM).

A few things didn’t work on Fedora out of the box:

  • The System theme stayed light even with GNOME set to dark. Electron reads only the GTK theme name (mine is Breeze), so the launcher sets GTK_THEME=Adwaita:dark when GNOME’s style is dark.
  • Cowork looks for the OVMF firmware at Debian’s path. claude-desktop-rpm cowork installs QEMU, edk2-ovmf and virtiofsd and links the firmware where the app expects it.
  • On GNOME the tray icon (that’s where Quit lives) needs the AppIndicator extension. claude-desktop-rpm doctor checks for that, plus the keyring, KVM group and portals, and prints the fix.

It updates itself through a daily systemd user timer. If Claude is open at the time, the update is verified and staged, and goes in the next time you start the app.

I’ve only tested it on Fedora 44 GNOME, x86_64. If you’re on KDE, RHEL/Rocky/Alma or ARM, I’d like to hear what doctor says.

Edit: v1.1.1 closes a signature-check gap Marko pointed out below. If you installed 1.1.0, download the new script and run ./claude-desktop-rpm.sh install once.

Somethings concerns

“No root” is true for install and update only. The separate cowork subcommand runs sudo dnf install (QEMU, edk2-ovmf, virtiofsd), writes symlinks into /usr/share/OVMF, adds /etc/modules-load.d/vhost_vsock.conf, runs modprobe, and does usermod -aG kvm. That is explicit and opt-in, but it is a privileged path inside a script advertised as no-root.

The signature check has a gap. It only confirms that a key with the pinned fingerprint exists in the downloaded key.asc. It never confirms the InRelease was signed by that key. If key.asc contained a second key, a compromised host could sign with that one. The fix is to verify with gpg --status-fd and require a VALIDSIG line matching the fingerprint.

The pinned fingerprint is only as trustworthy as the script author.

It installs a daily systemd timer that fetches and installs code unattended. You can turn it off with claude-desktop-rpm auto-update off.

1 Like

Thanks for taking the time to go through it. You were right on all four.

The signature gap was real, and I could reproduce it. It’s fixed in v1.1.1: the index now needs a good signature from the pinned key itself, and the script also refuses expired or revoked keys, a missing Valid-Until, and downgrades. Each case has a test now.

The docs now say exactly what cowork does with sudo, and that the update timer installs updates on its own (auto-update off turns it off). The fingerprint is the one Anthropic publishes at Claude Desktop on Linux (beta) - Claude Code Docs, so you can check it there.

I’ve credited you in the changelog and the issue (#7). If you have a moment for the new version, I’d welcome another look.

1 Like

Edit (v1.1.3): cowork no longer writes anything under /usr. Fedora’s edk2-ovmf already provides the firmware path the app uses.

since v1.1.3, cowork no longer writes under /usr at all (edk2-ovmf already ships the firmware path), and a sandbox test in CI checks that rpm -V stays clean. Release v1.1.3 · ajithakdev/claude-desktop-rpm · GitHub

v1.2.0 is out, with one new thing people kept asking about: a second Claude account on the same machine.

claude-desktop-rpm profile add work

That adds “Claude (work)” to the app menu. It opens with its own sign-in and chats in ~/.config/Claude-work, and you can keep it open next to your normal Claude. The launcher just passes Chromium’s --user-data-dir flag, so Anthropic’s files are still untouched.

Two limits I found while testing on Fedora 44 GNOME. Both tray icons look the same, so I check the tray menu, which shows each account’s plan. And Anthropic doesn’t document other data folders, so a future version could ignore the flag. If that happens, both menu entries just open your normal account and nothing is lost.

Existing installs don’t pick this up from the daily timer (it updates the app, not the script), so download the script again from the release: Release v1.2.0 · ajithakdev/claude-desktop-rpm · GitHub