How to Install DeepSeek on Ubuntu 24.04 Locally With Ollama
- 20 Feb, 2025
- AI
How to Install DeepSeek on Ubuntu 24.04 Locally With Ollama
Follow Below Steps
1. Login into the Ubuntu 22.04 using tool like putty
2. Change user to root if you are not using root user
command - sudo -s
3. Update and Upgrade Ubuntu Server by running below command
command - sudo apt update && sudo apt upgrade -y
4. Install Git
command - sudo apt install git -y
5. Install Curl
command - sudo apt install curl
6. Install Ollama
Follow Below Steps
1. Login into the Ubuntu 22.04 using tool like putty
2. Change user to root if you are not using root user
command - sudo -s
3. Update and Upgrade Ubuntu Server by running below command
command - sudo apt update && sudo apt upgrade -y
4. Install Git
command - sudo apt install git -y
5. Install Curl
command - sudo apt install curl
6. Install Ollama
Command - curl -fsSL https://ollama.com/install.sh | sh
7. Check Ollama version
command - ollama --version
8. Download a small Deepseek model
command - ollama pull deepseek-r1:1.5b
9. Check if Deepseek is installed
command - ollama list
10. Check if Ollama is running
command - systemctl is-active ollama.service
11. Run ollama
command - ollama run deepseek-r1:7b
12. Type a question
Example - who are you?