[Internal testing communication] 如何在deepin25上不折腾地使用ollama
Tofloor
poster avatar
135******79
deepin
15 hours ago
Author

1、安装

安装命令

curl -fsSL https://ollama.com/install.sh -o ollama_install.sh
sed -i 's|https://ollama.com/download/ollama-linux|https://ghproxy.com/https://github.com/ollama/ollama/releases/download/v0.5.7/ollama-linux|g' ollama_install.sh
chmod +x ollama_install.sh
sh ollama_install.sh

2、启动服务

ollama serve

3、选择模型

访问ollama官网https://ollama.com/library

选一个喜欢的模型,例如

qwen3-vl:8b-instruct-q4_K_M

4、下载模型

ollama pull qwen3-vl:8b-instruct-q4_K_M

5、运行模型

ollama run qwen3-vl:8b-instruct-q4_K_M

然后就可以愉快的和ai聊天了!

Reply Favorite View the author
All Replies
kookboy
deepin
14 hours ago
#1

你有没有尝试过?以前ollama_install.sh下载很难成功的,也很慢,现在不知道好不好下载。所以早些时候我改用docker容器来运行,现在很方便,也好管理。

Reply View the author
135******79
deepin
14 hours ago
#2
kookboy

你有没有尝试过?以前ollama_install.sh下载很难成功的,也很慢,现在不知道好不好下载。所以早些时候我改用docker容器来运行,现在很方便,也好管理。

我试过的,我换了个国内源的,大概10分钟就下载好了

Reply View the author
玲泷沙.spark
deepin
12 hours ago
#3

先安装星火商店,然后aptss install olllama 就可以了。或者 snap install ollama

Reply View the author