46 lines
1.7 KiB
Markdown
46 lines
1.7 KiB
Markdown
# claude-desktop-package
|
|
|
|
Repackages [Claude Desktop](https://claude.ai) into signed RPMs for Fedora 43 & 44
|
|
and publishes them to the self-hosted dnf repo at `rpm.lair.cafe`.
|
|
|
|
Claude Desktop's in-app updater is macOS/Windows-only (Electron native
|
|
`autoUpdater`), so on Linux it never self-updates. Anthropic ships a Debian/apt
|
|
repo but no dnf repo; this repo is the Fedora equivalent, tracking upstream and
|
|
rebuilding automatically.
|
|
|
|
## How it works
|
|
|
|
- **poll-upstream** — every 6h, reads Anthropic's apt `Packages` index for the
|
|
latest version and dispatches a build if `rpm.lair.cafe` doesn't already have it.
|
|
- **build-release** — downloads and checksum-verifies the upstream `.deb`,
|
|
repackages the prebuilt Electron bundle as an RPM (`rpm/claude-desktop.spec`),
|
|
signs it, and publishes to fc43 + fc44 trees.
|
|
|
|
No app source lives here — only packaging. See `CLAUDE.md` for details.
|
|
|
|
## Install (Fedora)
|
|
|
|
Uses the shared `lair-cafe` dnf repo (same repo/GPG key as the other `lair`
|
|
packages). If you've already configured `lair-cafe.repo` on a host, just
|
|
`sudo dnf install claude-desktop`. Otherwise:
|
|
|
|
```bash
|
|
sudo rpm --import https://rpm.lair.cafe/8b2023ce.gpg
|
|
sudo tee /etc/yum.repos.d/lair-cafe.repo > /dev/null <<'EOF'
|
|
[lair-cafe]
|
|
name=lair.cafe RPM Repository
|
|
baseurl=https://rpm.lair.cafe/fedora/$releasever/$basearch/
|
|
enabled=1
|
|
gpgcheck=1
|
|
gpgkey=https://rpm.lair.cafe/8b2023ce.gpg
|
|
EOF
|
|
sudo dnf install claude-desktop
|
|
```
|
|
|
|
Subsequent `dnf upgrade` picks up new Claude Desktop versions automatically.
|
|
|
|
## Runtime notes
|
|
|
|
If Chromium's sandbox misbehaves on a host with restricted user namespaces:
|
|
`claude-desktop --no-sandbox`, or `sudo sysctl kernel.unprivileged_userns_clone=1`.
|