Linux and AI

Debian has a new package "debgpt"
Code:
Description: General Purpose Terminal LLM Tool with Some Debian-Specific Design
 DebGPT is a lightweight terminal tool designed for everyday use with Large
 Language Models (LLMs), aiming to explore their potential in aiding
 Debian/Linux development. The possible use cases include code generation,
 documentation writing, code editing, and more, far beyond the capabilities of
 traditional software.
 .
 To achieve that, DebGPT gathers relevant information from various sources like
 files, directories, and URLs, and compiles it into a prompt for the LLM.  It
 also supports Retrieval-Augmented Generation (RAG) using language embedding
 models. DebGPT supports a range of LLM service providers, both commercial and
 self-hosted, including OpenAI, Anthropic, Google Gemini, Ollama, LlamaFile,
 vLLM, and ZMQ (DebGPT's built-in backend for self-containment).
 


I have a /home preserved for every computer I use.
Ok. So you copy your home directory to say a memory stick once in a while? I'll do that when/if I decide to do a clean install of Mint v22.2. Read somewhere that upgrading from 21.x and before can be problematic as there are quite a few changes under the bonnet in 22.2. Then again I'm thinking replacing the new home directory with the original could cause unexpected issues? With me I tend to feel if it can go wrong, it will go wrong. My confidence level is pretty low since embarking upon Apache2.
 
So you copy your home directory to say a memory stick once in a while?

It's saved to some NAS and just an rsync command that's run automatically every 24 hours. I sometimes run it manually and sometimes verify that the correct data is stored.

Then again I'm thinking replacing the new home directory with the original could cause unexpected issues?

That can happen but it's seldom and easily solved. If there's a problem, just close the app and remove the offending directory and restart the application. It will see no config and create one as though it's a new install. That's seldom and not with important stuff like browsers or email clients - things kept up to date where an upgrade will not matter. That's true for most things in your home directory. I haven't had a breaking change in a while.

There was a breaking change back in 2020. I use Lubuntu, and they moved from LXDE to LXQt. I was still able to preserve things like my home directory for stuff like an email client and browsers. Other stuff was technically broken, but was just ignored by the system. I knew it was coming and prepared for it.

There was a breaking change made with Thunderbird around that same time. The trick was to update Thunderbird and then preserve ~/.
 


Follow Linux.org

Members online


Top