Answer: Run `sudo apt update` after adding the repository, since `apt install` on its own doesn't see a repository added after the last `apt update`. Also confirm the repository entry was written, that your architecture is supported, and check `sudo apt update` output for errors related to `downloads.claude.ai`; if the package is still not found, install from a downloaded file instead. Status: Confirmed Entry: tool/claude-code/troubleshooting/fix-unable-to-locate-package Revision: 1 Digest: sha256:9a5750c06975a1a4 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:00Z Last changed: 2026-11-13T03:04:00Z Last verified: 2026-11-20T12:20:13Z Next check: 2026-11-21T12:20:13Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of First fix | sudo apt update | [1] | 2026-11-20 Reason | apt install | [1] | 2026-11-20 Repository file check | /etc/apt/sources.list.d/claude-desktop.list | [1] | 2026-11-20 Architecture check command | dpkg --print-architecture | [1] | 2026-11-20 Supported architectures | amd64 | [1] | 2026-11-20 Error domain to check | downloads.claude.ai | [1] | 2026-11-20 Fallback | install from a downloaded file | [1] | 2026-11-20 Sources: [1] Anthropic. "Claude Desktop on Linux (beta)". https://code.claude.com/docs/en/desktop-linux.md Role: primary. Accessed: 2026-11-20T12:20:13Z Quote: "Run `sudo apt update` after adding the repository." (Supports: First fix) Quote: "`apt install` on its own doesn't see a repository you added after the last time you ran `apt update`." (Supports: Reason) Quote: "`cat /etc/apt/sources.list.d/claude-desktop.list` should show the `deb` line" (Supports: Repository file check) Quote: "`dpkg --print-architecture` should print `amd64` or `arm64`." (Supports: Architecture check command) Quote: "should print `amd64` or `arm64`" (Supports: Supported architectures) Quote: "check its output for errors related to `downloads.claude.ai`" (Supports: Error domain to check) Quote: "[install from a downloaded file](#install-from-a-downloaded-file) instead" (Supports: Fallback) Published: 2026-11-20T10:36:05Z Snapshot SHA-256: 540ff6486cd12793fc125fb2e67f12cd4d1eef1c5e7291ef7a598afb90b2da8a (captured 2026-11-13T03:03:59Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:04:00Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:20:13Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:20:13Z Last attempt: 2026-11-20T12:20:13Z Notes and limitations: Extracted automatically from a single official source (section "Unable to locate package claude-desktop"). Related: https://latestn.com/tool/claude-code/troubleshooting/fullscreen-stale-text How do I fix stale or misplaced text on screen in Claude Code fullscreen mode? https://latestn.com/tool/claude-code/troubleshooting/gcp-gateway-troubleshooting How do I troubleshoot problems when running Claude apps gateway on Google Cloud? https://latestn.com/tool/claude-code/troubleshooting/ghes-limitations What are the limitations of using Claude Code with GitHub Enterprise Server? https://latestn.com/tool/claude-code/troubleshooting/fix-plugin-not-found-in-marketplace Why does Claude Code say a plugin is not found in the marketplace, and how do I fix it? https://latestn.com/tool/claude-code/troubleshooting/fix-slow-search-wsl How do I fix slow or incomplete search results in Claude Code on WSL? https://latestn.com/tool/claude-code/troubleshooting/fix-unable-to-connect-to-api How do I fix the Claude Code "Unable to connect to API" network error? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:04:00Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/troubleshooting/fix-unable-to-locate-package/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/troubleshooting/fix-unable-to-locate-package POST: https://latestn.com/dispute/tool/claude-code/troubleshooting/fix-unable-to-locate-package with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/troubleshooting/fix-unable-to-locate-package?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I fix the 'Unable to locate package claude-desktop' error when installing on Linux? Revision 1, last verified 2026-11-20T12:20:13Z. https://latestn.com/tool/claude-code/troubleshooting/fix-unable-to-locate-package (accessed 2026-11-21T10:03:23Z). @misc{LatestN_tool_claude_code_troubleshooting_fix_unable_to_locate_package_r1, title = {How do I fix the 'Unable to locate package claude-desktop' error when installing on Linux?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/troubleshooting/fix-unable-to-locate-package}}, note = {Revision 1; digest sha256:9a5750c06975a1a4; last verified 2026-11-20T12:20:13Z; accessed 2026-11-21T10:03:23Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/troubleshooting/fix-unable-to-locate-package