Linux 下载的文件名为 Chatbox-***.AppImage,事实上是一个可实行文件,这里必要给它修改为可实行的。
直接实行该文件,发现会报错,缺少一个库文件。
$ ./Chatbox-1.9.8-x86_64.AppImage
dlopen(): error loading libfuse.so.2
AppImages require FUSE to run.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
复制代码
实行如下命令安装即可。
sudo apt install libfuse2
复制代码
再次运行该程序,发现会报如下错误。
$ ./Chatbox-1.9.8-x86_64.AppImage
[30328:0220/145555.961814:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_ChatbopUEEU8/chrome-sandbox is owned by root and has mode 4755.
追踪或断点陷阱 (核心已转储)
复制代码
这大概与笔者使用的系统版本有关 Ubuntu 24.10,在别的版本的 Linux 上不会报错,颠末查找只能在厥后添加 --no-sandbox 才可以正常启动。
curl -fsSL https://cdn.anythingllm.com/latest/installer.sh | sh
复制代码
下载好的文件会默认生存在 ~/AnythingLLMDesktop 目录下,进入该目录。
~$ cd AnythingLLMDesktop/
AnythingLLMDesktop$ ls
anythingllm-desktop start
复制代码
直接运行,start 脚本,这里大概是因为笔者所使用的系统版本缘故原由,会报如下错误。
AnythingLLMDesktop$ ./start
[57804:0220/154849.629752:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/imaginemiracle/AnythingLLMDesktop/anythingllm-desktop/chrome-sandbox is owned by root and has mode 4755.