Install Deepseek on Linux

Table of contents
1. Introduction
2. Install Ollama
3. Verify installation
4. Download and run Deepseek locally
Introduction
I’m sure you’ve heard of Deepseek already. So, let’s see how you can install it on your Linux machine. Don’t worry, it won’t take more than a few minutes.
Let’s start!
Install Ollama on Linux
But wait, what is Ollama?
Ollama is a platform that allows you to run and manage LLMs (Large Language Models) on your machine.
What is LLM, Marko?
To put it in super simple terms, LLM is an AI system trained on a huge amount of data and is used to understand and assist humans in writing texts, code, and much more.
Let’s install it!
Open your terminal and run this command:
curl -fsSL https://ollama.com/install.sh | sh
Validate Ollama installation
OK, let’s check if the installation went well.
Run the following command:
ollama -v
Download and run Deepseek locally
Let’s do this third and final step – install deepseek model.
Run this command:
ollama run deepseek-r1:1.5b
And that’s it. You can now run your local LLM!
A few things to keep in mind.
Now that you have Ollama installed on your machine, you can try other models as well.
For example, at the time of writing this article, there were multiple Deepseek models available. There are others as well.
You can simply go to the Ollama website and search through it. Here’s what it looks like:
Happy coding!