Ollama runs language models locally and also offers cloud models. This retained example uses a local DeepSeek model on Ubuntu. Downloads require a connection; data handling depends on the model, tools and endpoints selected.
Historical guide. The retained commands have not been rerun as part of the website migration. Check current vendor instructions and model requirements before installing. Read the current official documentation.
Install Ollama
This tutorial will show you how to install DeepSeek on a local computer that is running Ubuntu 22.04 or 24.04 and be able to turn it on and off. Update server.
# apt update && apt upgrade -y
Install Ollama.
# curl -fsSL https://ollama.com/install.sh | sh
Run DeepSeek.
# ollama run deepseek-r1:1.5b
To exit.
/bye