Artificial intelligence Linux tutorial

Install Deepseek on Linux

Title Install Deepseek on Linux with a robot on the side
by Marko Denic | January 28, 2025

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:

Ollama homepage with search in focus

Happy coding!

Did you like this article? Share it with your friends:

Related articles

Title Install Mistral AI on Linux with stars in the background and a button with a text Read more

Install Mistral AI on Linux

Learn to install Mistral AI on Linux with this step-by-step guide. Ideal for beginners and advanced users.

Person coding with a version control graph in the background

Git Cheat Sheet

A quick reference guide with the most commonly used Git commands for version control.

Web Performance

Web Performance

This article will be some kind of archive for web performance tips.