gpt4all icon indicating copy to clipboard operation
gpt4all copied to clipboard

Linux Mint failed install

Open ResearchForumOnline opened this issue 1 year ago • 11 comments

Downloaded but not working, all installed ok it seemed and no errors, check screenshot maybe some kind of permission issue? I downloaded the Linux one: GPT4All-J Chat UI Installers Installs a native chat-client with auto-update functionality that runs on your desktop with the GPT4All-J model baked into it.

Ubuntu

2023-04-15_09-43

The install instructions are quite confusing besides the installer i tried which was very easy but the software/programme is not loading.

ResearchForumOnline avatar Apr 15 '23 08:04 ResearchForumOnline

@securehosting1

  1. open a terminal and run the app in it. see what the error message tells you.
  2. I guess the error is probably libxcb-cursor is not found, which is also mentioned in the repo issue in the source build verison of that installer : https://github.com/nomic-ai/gpt4all-chat/issues/31
  3. Try sudo apt install libxcb-xinerama0 libxcb-cursor0 and run it again (it works for me)

@zanussbaum We really need to add these two missing lib to come with the installer, we can place them under Lib folder so that pepole do not need to install it on their own

yhyu13 avatar Apr 15 '23 10:04 yhyu13

@securehosting1

  1. open a terminal and run the app in it. see what the error message tells you.
  2. I guess the error is probably libxcb-cursor is not found, which is also mentioned in the repo issue in the source build verison of that installer : Missing libxcb-xinerama.so.0? (SOLVED) gpt4all-chat#31
  3. Try sudo apt install libxcb-xinerama0 libxcb-cursor0 and run it again (it works for me)

@zanussbaum We really need to add these two missing lib to come with the installer, we can place them under Lib folder so that pepole do not need to install it on their own

Thanks for the reply, i ran the command: sudo apt install libxcb-xinerama0 libxcb-cursor0 it installed no issues, i clicked the programme icon nothing happened, maybe i need to run some commands?

ResearchForumOnline avatar Apr 15 '23 10:04 ResearchForumOnline

@securehosting1 ehh, I want you to run the app in terminal/console, that's the only way this chat app outputs some useful error message.

Also, I see other people having problem with jpeg lib https://github.com/nomic-ai/gpt4all/issues/345, so libxcb might not be the only thing this app is missing when distributing so widely on various platforms

yhyu13 avatar Apr 15 '23 10:04 yhyu13

@securehosting1 ehh, I want you to run the app in terminal/console, that's the only way this chat app outputs some useful error message.

Also, I see other people having problem with jpeg lib #345, so libxcb might not be the only thing this app is missing when distributing so widely on various platforms

Do you know any commands to run to get this thing working. started, like any commands at all anyone? :)

ResearchForumOnline avatar Apr 15 '23 10:04 ResearchForumOnline

@securehosting1 Just drag and drop the app in a terminal, and click enter

2023-04-15_18-30

yhyu13 avatar Apr 15 '23 10:04 yhyu13

@securehosting1 Just drag and drop the app in a terminal, and click enter

2023-04-15_18-30

'/home/zero/Desktop/GPT4AllChat.desktop' /home/zero/Desktop/GPT4AllChat.desktop: line 1: [Desktop: command not found /home/zero/Desktop/GPT4AllChat.desktop: line 6: 0.1.0/logo-48.png: No such file or directory

ResearchForumOnline avatar Apr 15 '23 10:04 ResearchForumOnline

@securehosting1 Guess something went wrong when installing, files that comes with the installer are missing, you might want to re-install it.

Also, you should really drag & drop the chat file under the bin folder under your install directory, and see if it works as well

yhyu13 avatar Apr 15 '23 10:04 yhyu13

@securehosting1 Guess something went wrong when installing, files that comes with the installer are missing, you might want to re-install it.

Also, you should really drag & drop the chat file under the bin folder under your install directory, and see if it works as well

Thanks, simply uninstall and reinstall might fix sounds easy will try very soon!

ResearchForumOnline avatar Apr 16 '23 16:04 ResearchForumOnline

Got error message "cant create /usr/share/applications/GPT4AllChat.Desktop on desktop" (translated) whilest installing. I'm using Mint aswell. Someone got a fix?

wocif avatar Apr 18 '23 18:04 wocif

git clone --recurse-submodules https://github.com/nomic-ai/gpt4all-chat cd gpt4all-chat/ggml mkdir build cd build cmake .. cmake --build . --parallel wget https://gpt4all.io/models/ggml-gpt4all-j.bin # Download GGML model if required ./bin/gpt-j -m ggml-gpt4all-j.bin -n 200 --top_k 40 --top_p 0.9 -b 9 --temp 0.9 -p "Below is an instruction that describes a task. Write a response that appropriately completes the request.

Instruction:

Tell me about artifical intelligence

Response:"

installing by copy-pasting above right now. Will update the results, i removed it before installing again so hopefully it will be working.

bash: ./bin/gpt-j: No such file or directory zero@zero-AI:~/gpt4all-chat/ggml/build$ ./bin/gpt-j bash: ./bin/gpt-j: No such file or directory

What next?

ResearchForumOnline avatar Apr 19 '23 00:04 ResearchForumOnline

This seems easier; https://github.com/nomic-ai/gpt4all-ui Manual Simple install: Download this repository .zip: image

Extract contents into a folder. eg: home/username/Downloads/

zero@zero-AI:~$ cd /home/zero/Downloads/gpt4all-ui-main

Install/run application from terminal/console:

bash webui.sh

HTTP request sent, awaiting response... 200 OK Length: 4212864640 (3.9G) [application/octet-stream] Saving to: ‘./models/gpt4all-lora-quantized-ggml.bin’

gpt4all-lora-quantized-ggm 100%[=====================================>] 3.92G 3.91MB/s in 17m 19s

2023-04-19 19:28:13 (3.87 MB/s) - ‘./models/gpt4all-lora-quantized-ggml.bin’ saved [4212864640/4212864640]

Cleaning tmp folder webui.sh: line 186: 22295 Illegal instruction (core dumped) python app.py zero@zero-AI:~/Downloads/gpt4all-ui-main$

now what do i do is it all done?

ResearchForumOnline avatar Apr 19 '23 18:04 ResearchForumOnline

Issue resolved: Download UIbuntu AXA Only Ubuntu installer: https://gpt4all.io/installers/gpt4all-installer-linux-avx-only.run

ResearchForumOnline avatar May 17 '23 01:05 ResearchForumOnline