montfort.dev
← notes

· #claude #fedora #linux

Installing Claude Desktop on Fedora Linux (GNOME) using the `.deb` package

For now, Claude Desktop for Linux ships only as a .deb for Debian/Ubuntu. These are the steps I followed to install it on Fedora (GNOME): extract the package, verify dependencies, move it to /opt, create a wrapper, and integrate it into the applications menu.

This document describes how to install Claude Desktop on Fedora Linux with GNOME, starting from the official .deb package for Debian/Ubuntu.
The method works because Claude Desktop is an Electron application with standard dependencies that are already present on Fedora.

Download the .deb package

Claude Desktop’s APT repository contains the .deb file.

First, we download the list of files from the Packages file:

curl -O https://downloads.claude.ai/claude-desktop/apt/stable/dists/stable/main/binary-amd64/Packages

We get the path and updated version from the Packages file:

grep -A 10 "Package: claude-desktop" Packages | grep Filename

Select the most recent version and copy the path of the .deb file. For example:

Filename: pool/main/c/claude-desktop/claude-desktop_1.17377.0_amd64.deb

Construct the full URL as follows:

https://downloads.claude.ai/claude-desktop/apt/stable/pool/main/c/claude-desktop/claude-desktop_1.17377.0_amd64.deb

Download:

curl -O https://downloads.claude.ai/claude-desktop/apt/stable/pool/main/c/claude-desktop/claude-desktop_1.17377.0_amd64.deb

Install alien

Although we try to convert the .deb to .rpm, Fedora rejects the package because alien produces an .rpm with conflicts in /usr/bin and /usr/lib.
Even so, installing alien is useful for inspecting the package — and, more importantly, it pulls in the dpkg package as a dependency, which provides the dpkg-deb tool we use in the next step (Fedora doesn’t ship it by default). So don’t skip this step.

sudo dnf install alien

Extract the contents of the .deb

Use the name of the .deb you actually downloaded — the version below (1.17377.0) is only an example:

dpkg-deb -x claude-desktop_1.17377.0_amd64.deb deb_extract/

The main binary ends up at:

deb_extract/usr/lib/claude-desktop/claude-desktop

Check dependencies with ldd

ldd deb_extract/usr/lib/claude-desktop/claude-desktop

All the dependencies reported by ldd are available on Fedora.

Install the required dependencies on Fedora

If your system doesn’t have them, install all the equivalents:

sudo dnf install gtk3 libnotify nss libdrm mesa-libgbm libxcb libsecret libXtst libuuid alsa-lib xdg-desktop-portal xdg-desktop-portal-gnome

In our case, they were all already installed.

🚀 Run Claude Desktop directly

./deb_extract/usr/lib/claude-desktop/claude-desktop

If it opens, it’s already working correctly.

Move Claude Desktop to /opt

sudo mv deb_extract /opt/claude-desktop

Create a wrapper in /usr/local/bin

⚠️ Important:
The executable must be named claude-desktop, not claude, to avoid conflicts with the Claude CLI that some users already have installed.

Create the wrapper:

sudo nano /usr/local/bin/claude-desktop

Contents:

#!/bin/bash
/opt/claude-desktop/usr/lib/claude-desktop/claude-desktop "$@"

Make it executable:

sudo chmod +x /usr/local/bin/claude-desktop

Now you can run:

claude-desktop

GNOME integration (.desktop file)

Create the file:

nano ~/.local/share/applications/claude-desktop.desktop

Contents:

[Desktop Entry]
Name=Claude Desktop
Exec=/usr/local/bin/claude-desktop
Icon=/opt/claude-desktop/usr/share/icons/hicolor/256x256/apps/claude.png
Type=Application
Categories=Utility;

Update the index:

update-desktop-database ~/.local/share/applications/

Claude Desktop will appear in the GNOME applications menu.

Final result

Claude Desktop ends up installed on Fedora:

  • Without using an .rpm
  • Without system conflicts
  • With full GNOME integration
  • With a safe wrapper that avoids collisions with the Claude CLI

More notes and essays land in the feed — rss.xml is the contract.