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

How to Build and Deploy a Laravel App to Sevalla

How to Build and Deploy a Laravel App to Sevalla

In this tutorial, we will see how to build a simple Laravel Application and deploy it to the cloud using Sevalla.

Introduction to CSS if Statements and Conditional Logic

Introduction to CSS if Statements and Conditional Logic

Conditional logic is a familiar concept to anyone who has written a programming language. Languages like JavaScript or Python use if/else statements to evaluate expressions and execute different blocks of code depending on whether the condition is true or false.

CSS Pulse Animation

CSS Pulse Animation

Enhance user engagement with a smooth pulse animation! This eye-catching effect is perfect for quickly grabbing attention and improving UI interaction. Learn how to implement it now!