This directory contains the Flatpak manifest and build configuration for Claude Desktop, allowing you to run Claude on any Linux distribution (not just Debian-based ones).
Flatpak is a universal packaging format that works across all Linux distributions. Unlike .deb packages that only work on Debian/Ubuntu, Flatpaks work on Fedora, Arch, openSUSE, and any other Linux distro.
- Flatpak must be installed on your system
- flatpak-builder for building the package
- Flathub repository should be enabled
sudo dnf install flatpak flatpak-builder
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo- Ubuntu/Debian:
sudo apt install flatpak flatpak-builder - Arch:
sudo pacman -S flatpak flatpak-builder - openSUSE:
sudo zypper install flatpak flatpak-builder
You have two options for building:
First install flatpak-builder:
# On Bazzite/Fedora (immutable)
rpm-ostree install flatpak-builder
# Then reboot
# Or on regular Fedora
sudo dnf install flatpak-builderThen build:
cd ~/src/claude-desktop-flatpak
./build.shIf you don't want to install flatpak-builder or are on an immutable system, use the simple build:
cd ~/src/claude-desktop-flatpak
./simple-build.shThis uses basic flatpak commands to create the package without requiring flatpak-builder.
Both methods will:
- Check and install required Flatpak runtimes
- Build the application using flatpak-builder
- Create a flatpak bundle file (
claude-desktop.flatpak)
After building, install it with:
flatpak install --user claude-desktop.flatpakOr to install system-wide (requires sudo):
flatpak install claude-desktop.flatpakAfter installation, you can run it from your application menu or from terminal:
flatpak run com.anthropic.ClaudeThe Flatpak includes these permissions:
- Network access: Required for communicating with Claude API
- Home directory access: For reading/writing your files
- GPU acceleration: For better performance
- Audio: For any audio features
- X11/Wayland: For windowing system
- Desktop integration: For notifications and file pickers
To update to a new version, simply rebuild and reinstall:
./build.sh
flatpak update --user com.anthropic.ClaudeTo remove the Flatpak:
flatpak uninstall com.anthropic.ClaudeClaude Desktop with Desktop Commander will work inside the Flatpak, but with these considerations:
- File access: The Flatpak has access to your home directory by default
- System commands: Will work but run in the Flatpak sandbox context
- MCP servers: Can be configured in
~/.config/claude/as usual
Make sure you have Flathub enabled:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepoCheck logs:
flatpak run --command=sh com.anthropic.Claude
journalctl --user -xe | grep claudeEdit com.anthropic.Claude.yml and add finish-args as needed.
com.anthropic.Claude.yml- Main Flatpak manifestcom.anthropic.Claude.desktop- Desktop entry filecom.anthropic.Claude.metainfo.xml- AppStream metadatabuild.sh- Automated build scriptREADME.md- This file
You can distribute the generated claude-desktop.flatpak bundle file to others. They can install it with:
flatpak install claude-desktop.flatpakNo need for them to build it themselves!
Feel free to modify the manifest to suit your needs. Common modifications:
- Reduce permissions: Remove finish-args you don't need
- Add dependencies: Add modules for additional tools
- Change runtime version: Update to newer Freedesktop Platform versions
- This is a community-created Flatpak configuration
- Claude Desktop is developed by Anthropic
- Based on version 0.14.10 of the Debian package
The Claude Desktop application is proprietary software by Anthropic. This Flatpak manifest configuration is provided as-is for packaging purposes.