Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

[EBUILD] Claude Desktop 0.9.1

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
localtoast
n00b
n00b
Posts: 30
Joined: Sat Jul 13, 2024 2:48 am

[EBUILD] Claude Desktop 0.9.1

  • Quote

Post by localtoast » Mon Jun 16, 2025 7:43 am

Hi all

Not sure whether this is really the right place to announce this, but 'Unsupported Software' definitely fits. Mods, if this isn't cool, please let me know.

I've been playing with Anthropic's Claude a lot of late, and was irritated to discover that there is no Linux native support for the Claude Desktop app. However, it turns out that Debian, Ubuntu, Arch etc have all managed to package it to run on Linux. As it turns out, it's an Electron app, which can be repackaged with a shim to make it Linux compatible.

I therefore decided to try an experiment: Could I use Claude to replicate the logic used in other distros' repackaging of the Claude Desktop app and write the ebuild for me?

tl;dr: Yes, I could, it's here: https://github.com/multidimensionalcats ... too-ebuild
Proper documentation is in README.md inside the files/ directory, rather than in the top level.


The experiment worked like this: I had Claude find, and analyze, the existing solutions for other distros, explain it to me, and then translate it into ebuild format. Claude figured out that it needed to fetch the Windows installer .exe, unpack it using p7zip (not sure about this as a decision, but I ran with it), use npx to extract the packaged app.asar, add a Linux-compatible shim for some Windows-specific functions mostly revolving around input and window management, and then repack app.asar.

During testing it ran into some problems because it expected my system to have Electron, npm and npx installed already, but it then correctly identified that the ebuild needed modifying to specify net-libs/nodejs[npm] as a dependency. It also, after some trial and error, gave up on trying to use any system implementation of Electron and decided to grab it via npm.

I have tested this on two different Gentoo machines and it worked pretty painlessly on both, however, I do not recommend assuming that this is a reliable or useful ebuild long-term. I am not particularly interested in maintaining it, and I very much doubt it's good or standards-compliant enough to submit for inclusion anywhere.

It's an experiment I did that produced something that might be useful to someone who wants a Gentoo-native way of running Claude Desktop in the short term, before official support starts, like I did.
Top
Banana
Administrator
Administrator
User avatar
Posts: 2386
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Mon Jun 16, 2025 11:28 am

Well, as you may already know, but gentoo has a policy about it:

https://wiki.gentoo.org/wiki/Project:Council/AI_policy
It is expressly forbidden to contribute to Gentoo any content that has been created with the assistance of Natural Language Processing artificial intelligence tools. This motion can be revisited, should a case been made over such a tool that does not pose copyright, ethical and quality concerns.
This does not forbid any ordinary created ebuild for a software like that.

So, yes create an ebuild for it, but not with the help of AI
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
localtoast
n00b
n00b
Posts: 30
Joined: Sat Jul 13, 2024 2:48 am

  • Quote

Post by localtoast » Mon Jun 16, 2025 2:56 pm

Banana wrote:Well, as you may already know, but gentoo has a policy about it:

https://wiki.gentoo.org/wiki/Project:Council/AI_policy
It is expressly forbidden to contribute to Gentoo any content that has been created with the assistance of Natural Language Processing artificial intelligence tools. This motion can be revisited, should a case been made over such a tool that does not pose copyright, ethical and quality concerns.
This does not forbid any ordinary created ebuild for a software like that.

So, yes create an ebuild for it, but not with the help of AI
If this qualifies as contributing content to Gentoo, then please feel free to delete the thread - seems like I can't. I deliberately am not trying to get this thing included in any overlays, or the main portage repo, and this is another good reason why not. I genuinely just wanted to document a cool solution to creating a non-trivial ebuild that Gentoo doesn't have for now; not trying to break any rules. No harm, no foul.
Top
Banana
Administrator
Administrator
User avatar
Posts: 2386
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Mon Jun 16, 2025 5:14 pm

You can do whatever you want and others can use your solution. There is no rule against it. Any official repo will not use it. Thats it.
And I do not see any reason to close or delete this thread.
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
Post Reply

4 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic