Install DeepSeek Locally with Ollama LLM in Ubuntu 24.04

From Dboswiki
Jump to navigation Jump to search
https://www.tecmint.com/run-deepseek-locally-on-linux/

Step 1: Install Python and Git

sudo apt install python3
python3 --version
sudo apt install python3-pip
pip3 --version
sudo apt install git
git --version

Step 2: Install Ollama for DeepSeek

curl -fsSL https://ollama.com/install.sh | sh
ollama --version
sudo systemctl start ollama
sudo systemctl enable ollama

Step 3: Download and Run DeepSeek Model

ollama run deepseek-r1:7b
ollama list

Step 4: Run DeepSeek in a Web UI

sudo apt install python3-venv
python3 -m venv ~/open-webui-venv
source ~/open-webui-venv/bin/activate
pip install open-webui
open-webui serve

Link dibutuhkan:

Ollama Github: https://github.com/ollama/ollama
Ollama website: https://ollama.com/models
Docker install: https://docs.docker.com/engine/install/
Open WebUI: https://github.com/open-webui/open-webui
https://youtu.be/4lrxSSsVQIE?si=zt09rIdxpipnlgoJ