
To install DeepSeek model on your Ubuntu system, you can follow these steps. This guide will help you set up DeepSeek-R1 using the Ollama framework, which simplifies the process of managing and running large language models locally.
I: Install Docker
1-Update your package list
sudo apt-get update && sudo apt-get upgrade
2-Install Docker
sudo apt install docker.io
3-Start and enable Docker
sudo systemctl start docker
sudo systemctl enable docker
II-Install Ollama
1-Download the Ollama installer
curl -O https://ollama.com/download/OllamaInstaller.sh
2-Make the installer executable
chmod +x OllamaInstaller.sh
3-Run the installer
sudo ./OllamaInstaller.sh
III-Download and Install DeepSeek-R1 Model
1-Pull the DeepSeek-R1 model
ollama pull deepseek-r1
2-Verify the installation
ollama list
3-Run DeepSeek-R1
Start the model
ollama run deepseek-r1