Open Jancs-E opened 1 week ago
It would be excellent to have a clear list of dependencies
The problem here is that every major Linux distribution does things a bit differently, and packages can even change from version to version. The second problem is that you need to create an account and accept the Qt license if you want to go the official route. Which you might have to do, depending on how up-to-date the Qt packages of your distro are. For example, Ubuntu 24.04 LTS isn't even on v6.5 yet, sadly (I tried).
However, there are at least two locations where you can get the necessary information for your scripts:
GPT4All's CI is scripted, albeit with the official Qt installer. It should give you an idea about other dependencies, though. For the full release installer, see build-offline-chat-installer-linux
here. Adjust as required.
There are several unofficial builds in Arch Linux' AUR. If you're unfamiliar with that, pick one, then "View PKGBUILD" in the box on the right.
Note specifically for v3.0.0 of GPT4All: If you want to use LocalDocs you need an embedding model. In this version it's fixed and part of the CMake build process downloads this. Make sure that ends up in the right location (resources/
folder) if you're going to roll your own.
Last but not least: The provided "Ubuntu package" might work on your system, too. It includes many of the necessary dependencies, it's not a typical distro package. There's also an unofficial flatpak somewhere.
Hi!
I went over build and run file reading on how to build the tools for my specific system rather than rely on the package prepared for Ubuntu (I use Slackware Linux). It would be excellent to have a clear list of dependencies + build command or +/- standard build script rather then windowish "point and click" description.