Learning Linux | Mint Cinnamon to Fedora ? | Clean install, Snapd, PyGPT

Recently got a Lenovo ThinkPad and did a full install of Linux Mint Cinnamon, but errors mean it is limited when trying to install PyGPT.

Now I am facing a re-install and looking at Fedora after learning Linux some.

If someone will be so kind to let me know, will Kubuntu be snap-enabled? (which makes using PyGPT more friendly at start-up)

Does anyone have experience running the PyGPT AI Assistant on Kubuntu?

I am an oldie, not a techie, are there helping hands out there to get me through the install?

Will I download it to USB stick like LM, or can it be installed another way?

Looking at a full install that wipes Linux Mint Cinnamon, replaces it with Fedora Kubuntu, and installs PyGPT with snap.

Thank you.


This mentions that snap can be installed on Fedora: Installing snap on Fedora | Snapcraft documentation

I wouldn’t use Silverblue based on the last note on that page, but regular Fedora 40 KDE should be fine.

It sounds like that one command sudo dnf install snapd is all that’s needed to get Snaps working, and then PyGPT with sudo snap install pygpt

Will I download it to USB stick like LM, or can it be installed another way?

It’s a similar process; download Fedora KDE’s iso, and write it to a USB drive. Any tool that directly-writes to the drive should be fine, but I prefer traditional dd on Linux, and balena’s Etcher on Windows.

From there, boot it and you’ll get the live environment to install Fedora to your internal drive and configure things.

If your Lenovo has a SSD I might recommend fully-trimming it so it’ll be back to factory-performance for Fedora’s install. ArchWiki has more information, and I have some one-liners based on that for NVMe and SSDs.

1 Like

Yes Snaps may not work in Fedora Atomic Desktops (even though possible, linking /var/snap to /snap and maybe more)

But I would avoid snap when possible, as it will add a huge load of stuff you may not otherwise use on Fedora.

And yes, Kubuntu uses Snap, as every official Ubuntu Flavor. This includes Firefox, Thunderbird and possibly more.

But you dont need Snap to run this (very impressive) tool, you can install via pip


sudo dnf install python3-pip

#or on atomic desktops
rpm-ostree install python3-pip

You may want to use pipx alternatively


On Linux there is Fedora Media writer which you can use. Or KDE Iso image writer. Or Impression Flatpak.

1 Like

All replies are appreciated. This is my first full day of considering to replace the compromised Linux Mint on my Lenovo ThinkPad with Fedora Gnome.

I may not get all the terms right, for reasons. Anyone who is not yet 70 may not fully understand, and in addition a slowing Asperger’s brain exacerbates this adventure for me. I don’t wallow in victimhood, or make excuses, many have it more difficult, and only mention to perhaps alleviate exasperation some may feel over time with my posts.

A little background may be useful regarding my computing experience. I started on DOS in the 80s and became a half-wizard by the time Windows arrived. My devices were Windows until around 2012, when my new 17" HP laptop accessorized was stolen. Longer story, I went to a touchpad for the next ten years or so, and lost some of my Windows touch.

Some things start coming back, some don’t and here I am today after getting a nice refurbished ThinkPad (which I call Higher Thought Pad) about two months ago. Did a full Linux Mint install with sweaty palms, and when trying to install PyGPT this week found that my installation had been compromised by some choice from ignorance I made.

Living on the Azores in a remote area of the island adds to the adventure as not all things are readily available, such as USB sticks. I plan to add the Fedora Worksation 40 with GNOME to the stick today, and looking ahead will definitely be grateful for a helping hand along the way which may include some basics. However, I will read documentation and do what I can on my own.

Thank you for taking the time to read, and Godspeed!


My Lenovo has SSD.

What does trimming mean, please?

The PyGPT developer Marcin graciously wrote emails to me, and in the last this about SNAP:

5) I think the simplest option in your case would be to either download and extract the precompiled version from the archive and just run it without installation, or to install it by using Snap. You can do so by typing the following command in the terminal: sudo snap install pygpt
After installation this way, you will have PyGPT available as icon with the name “PyGPT Desktop AI Assistant” in the “Start” menu, under Accessories.

[Or install by using Snap, and have PyGPT available as icon with the name in the Start menu – that sounds very good, and like exactly what I need and want.]

This is the issue found after 20 pages from Monica AI helping me with my LM issues, just for general interest:

Linux Mint 21.3 Virginia - Release amd64 20240109]/

This system was installed using small removable media

(e.g. netinst, live or single CD). The matching “deb cdrom”

entries were disabled at the end of the installation process.

The Linux Forum actively sought to help me with LM issues, but at the end did not know what else I could do but re-install.

" I can’t even begin to speculate. I would say that, even if you get this installed, you’re looking at a system that’s fundamentally broken. When commands like ls -la ~/.local fail to work properly, there’s something fundamentally broken with your system."

" > What can be done about it?
Frankly, that I do not know. Your system appears broken in ways that confuse and confuddle me."


Please fix the formatting by placing




Around code

I dont know what you mean by “Fedora Kubuntu”. Kubuntu is the KDE flavor of Ubuntu. Do you mean Fedora KDE, Fedora Kinoite or actually Ubuntu?

From what I have seen, On Fedora the best way to install this PyGPT will be using Python :


  1. Create virtual environment:
python3 -m venv venv
source venv/bin/activate
  1. Install from PyPi:
pip install pygpt-net
  1. Once installed run the command to start the application:

On a side note :
I just tried to build a Podman container for it to make it even easier. . . While it did build, I think it’s an not an intuitive solution for Novice users as it is too involved and this application brings in a ton of dependencies and needs a Debian image to work. I have the Dockerfile I wrote up if anyone wants to try, but honestly not worth more of my time today.

1 Like

“I dont know what you mean by “Fedora Kubuntu”. Kubuntu is the KDE flavor of Ubuntu. Do you mean Fedora KDE, Fedora Kinoite or actually Ubuntu?”

The various distros spins and flavors do get confusing :face_with_diagonal_mouth:.

Especially if I don’t refer to notes and am tired.

Besides I am now on an iPad with bad WiFi and it’s nearly impossible. Currently the ThinkPad is backing up files to a USB stick.

I downloaded something from Fedora using the media writer today and it’s on a USB stick. From memory its Fedora Workstation 40 with GNOME 46. Does that sound right?

A developer told me he uses Kubuntu with GNOME. I looked at something called Plasma too, but for better or worse decided the seemingly cutting edger high quality and extra support from Fedora makes it my preferred next flavor. Does that make sense or am I still confused? :thinking:

1 Like

I am glad to cooperate when I understand what is wanted. It will get better when I am not on the iPad and back on the ThinkPad.

Many thanks. Copied your instructions.

It’s quite alright, if you need help setting up the system or any other things just comment here and post your questions. many people here would love to help.

This application really was built to be run this way. During my first attempt I had build issues because of the Python Library I was using according to the instructions , You will not have these issues as Fedora has more up-to-date Python packages.

Outside of that, the only recommendation I can offer is to do all of this in a directory and call it something you like.
This will be the build environment, and following those instructions, you should have all you need.
Keeping things organized ! :+1:t5:

This is what I wrote to a USB stick and plan to install tomorrow:


Before installing, any pros and cons from anyone?

1 Like

That’s all you need ! You are good to go with Fedora. :fedora: Your ThinkPad is well supported so I don’t foresee any issues.

Ah yes, besides copying from my Lenovo download folder all files to a USB stick in process, I am proud of myself for creating a document of all browser tabs cause when it’s gone it’s gone…

1 Like

Tomorrow when you get to your Fedora build, I’ll show you some tips on this type of workflow with Firefox. :+1:t5:

The way I understand it, data on solid state drives is handled by drive firmware, and there’s something with the process of storing data to a cell on the storage chip(s) that when that data is deleted, that cell doesn’t become available for use immediately until the firmware cleans that cell through trimming. A couple of large file transfers and probably thousands of files created and deleted over-time can have SSD cells not trimmed in different spots across the entire drive, and the drive firmware has to handle this with its black box implementation (it might trim those cells eventually, the filesystem might report cells not truly empty for trimming, trimming might not even occur if you’re software or hardware disk encrypted, etc).

I think this explains trim on SSDs and the issues: Understanding the SSD Performance Degradation Problem - The SSD Anthology: Understanding SSDs and New Drives from OCZ

Trimming the entire drive basically resets all the SSD cells back to factory-performance allowing data to be written to them without concern about existing data or wear-leveling, along with hard-erasing any data that might be recoverable with data recovery.

I haven’t used a SSD long enough without full drive trims to know if it really affects anything, so I do it as more of a precautionary step to make sure I get the best possible performance, and I don’t trust disk drive firmware to do it right on their own (manufacturers probably want you to buy more drives sooner :stuck_out_tongue: and some have backdoors for hardware/self-encrypting SSDs)

There was a process I used regularly on the old drives with Windows, don’t recall the name at the mo… oh yes, defragmentation.

I would like to trim my drive, but when and how?

Can’t really study up on it, understand the principle well enough, just need steps like an application that does it. Assuming it’s done… hmmm… before or after the new install of Fedora Workstation?