r/linuxquestions • • 9d ago

Advice Installing an LLM to use Linux

What LLM is a good option to install in Linux, to use to do anything you want in Linux, by giving the instructions in simple English?

0 Upvotes

31 comments sorted by

3

u/hangint3n 9d ago

What GPU do you have?

-2

u/Technical_Rich_3080 9d ago

I have a few systems but am not yet sure which I'll use for this purpose.

3

u/trueneu 9d ago

What are you asking then?..

-3

u/Technical_Rich_3080 9d ago

I want to determine want I need to set this up.

3

u/trueneu 9d ago

Still not clear. Do you want to run it locally? Are you asking what Cloud model to use? What agent? What GPU? I have a feeling you want us to read your mind.

1

u/Technical_Rich_3080 9d ago

What cloud model and how to set it up on your local Linux PC.

(I'd also be open to the possibility of running it locally, if it is more advantageous than the cloud.)

0

u/trueneu 9d ago

I had success both with Claude Code and Codex, different models, whipping up configuration for me. There's basically no setting up, you download the agent, you pay the provider, voila. Running local models is advantageous in the sense that you'll learn how to start them, and it'll likely be much cheaper. Without knowing what it is that you want to do with it exactly, no one could guide you and say what local LLM would be enough. I would caution you however, it seems to me this water is too deep for you right now. May I suggest that you learn some Linux, try and troubleshoot some stuff, or get acquainted with LLMs first, separately?

2

u/computer-machine 9d ago

Without knowing what it is that you want to do with it exactly,

It sounds like they want to be MCU Iron Man, talking conversationally to their computer and having it do stuff itself.

1

u/trueneu 9d ago

Computer, enhance!

-1

u/Schtick_ 9d ago

I mean it’s difficult for me to imagine that unless you’re really stripped for cash that just subbing to a frontier model isn’t a better idea.

I want my local compute to do things not have it soaked up by a crap model. Unless you have a dedicated machine running this.

0

u/Technical_Rich_3080 9d ago

What are some examples of subbing to a frontier model?

0

u/Schtick_ 9d ago

Claude/chatgpt/cursor/meta all have good options. I think Claude and ChatGPT are the best clis but cursor(grok)/meta are serviceable and cheaper

0

u/Technical_Rich_3080 9d ago

How do you attach them, or integrate them, to have them carry out commands and functions to control your Linux operating system?

4

u/trueneu 9d ago

I would cautiously say that judging by your questions, it is probably too early to use LLMs to do anything you want in Linux.

1

u/lloyd08 9d ago

It's really difficult to read your mind, since you're not actually giving any details, but I suspect https://github.com/manuelgscom/dale might be what you're looking for, but I'd probably caution against using it if you truly are a command line noob. You're more likely to damage your system running something stupid even with the safety check mechanism.

-2

u/Schtick_ 9d ago

Ok so other people are saying be cautious, I disagree, as long as you accept that what you’re doing can permanently damage the instance and that there you aren’t saving like your precious family photos there or exposing the machine to public wifi you are perfectly fine.

Look whether it’s manual or ai led we are all perfectly capable of corrupting our operating systems sometimes even apps we install are capable of doing so. Personally all my data is backed up in multiple cloud locations if my laptop bricks right now I’m back to 100% velocity in 1 hour on a new laptop.

Just don’t delude yourself into thinking plugging an llm into your linux is “safe” and you’ll be fine. It’s a great way to learn.

2

u/trueneu 9d ago

That's the thing; for some reason I doubt OP runs multiple backups, knows what a failure domain is, and can get from zero to hero in one hour.

By breaking his whatever, he won't learn as he won't understand what he did in the first place. At most he'll learn that Linux and Claude suck, or something along the lines.

1

u/Schtick_ 9d ago

It’s not an industry for cowards. Like sure you shouldn’t be running Claude on your companies production linux.

But if you can’t navigate having Claude on linux and discussing with it what is being done and reviewing it then it’s not for you.

Go buy windows and use it out of the box.

We were plenty capable of bricking o/s before llms the notion that it’s more dangerous now is nonsense. It’s far less dangerous that raw dogging with random suggestions from stack overflow.

1

u/trueneu 9d ago

OP can't even navigate what they're asking. Are you seriously suggesting they're gonna review anything?

1

u/Schtick_ 9d ago

I’m not asking them to “review” in the sense that they understand and validate. I’m saying “review” in the sense that you should see what commands are planned to run and then learn more about those.

1

u/trueneu 9d ago

I think I understood you, their level of curiosity is at "asking reddit how to install LLM to do everything in Linux for me".

→ More replies

1

u/computer-machine 9d ago

and discussing with it what is being done and reviewing it then it’s not for you. 

OP doesn't want to discuss and review, they want to tell their computer what they want their computer to do, in natural language, and it just work automatically.

-3

u/WayaldOne 9d ago

Claude/Claude Code

-3

u/PlanetVisitor 9d ago

ChatGPT 

-3

u/TenOfZero 9d ago

ChatGPT, Claude can both be given control to execute commands etc...