Deepseek AI can run on OpenSUSE with 16GB of Ram

I installed Deepseek AI

Here is the install and a session on an I5 8th gen CPU with 16GB

It will ask for the root password to install.



LLR7:~ # curl -fsSL https://ollama.com/install.sh | sh
>>> Installing ollama to /usr/local
>>> Downloading Linux amd64 bundle
######################################################################## 100.0%
>>> Creating ollama user...
>>> Adding ollama user to render group...
>>> Adding ollama user to video group...
>>> Adding current user to ollama group...
>>> Creating ollama systemd service...
>>> Enabling and starting ollama service...
Created symlink /etc/systemd/system/default.target.wants/ollama.service → /etc/systemd/system/ollama.service.
>>> The Ollama API is now available at 127.0.0.1:11434.
>>> Install complete. Run "ollama" from the command line.
WARNING: No NVIDIA/AMD GPU detected. Ollama will run in CPU-only mode.
LLR7:~ # ollama --version
ollama version is 0.5.7
LLR7:~ # systemctl is-active ollama.service
active
LLR7:~ # ollama run deepseek-r1:8b
pulling manifest
pulling 6150cb382311... 100% ▕████████████████▏  19 GB                         
pulling 369ca498f347... 100% ▕████████████████▏  387 B                         
pulling 6e4c38e1172f... 100% ▕████████████████▏ 1.1 KB                         
pulling f4d24e9138dd... 100% ▕████████████████▏  148 B                         
pulling c7f3ea903b50... 100% ▕████████████████▏  488 B                         
verifying sha256 digest
writing manifest
success
>>> What is 1+1
<think>
First, I recognize that the user is asking for the result of adding two
numbers: one and one.

To solve this, I recall the basic principle of addition in mathematics.

When you add one to another one, you are essentially combining these two
individual units into a single total.

Therefore, performing the calculation 1 + 1 yields a sum of 2.
</think>

**Solution:**

To find the value of \(1 + 1\), follow these simple steps:

1. **Start with the first number:**  
   \[
   1
   \]

2. **Add the second number to it:**  
   \[
   1 + 1
   \]

3. **Calculate the sum:**  
   \[
   1 + 1 = 2
   \]

**Final Answer:**  
\[
\boxed{2}
\]

>>>
Use Ctrl + d or /bye to exit.
>>>
LLR7:~ #
6 Likes

There is also an ollama package:

$ sudo zypper install ollama
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/ollama-user.conf -
Creating group 'ollama' with GID 445.
Creating user 'ollama' (Ollama) with UID 445 and GID 445.
(1/1) Installing: ollama-0.5.1-1.1.x86_64 ...........................[done]
Running post-transaction scripts ....................................[done]
$ sudo systemctl start ollama
$ ollama --version
ollama version is 0.0.0
$ ollama run deepseek-r1:8b
pulling manifest 
pulling 6340dc3229b0... 100%   █████████████████ 4.9 GB                         
pulling 369ca498f347... 100%   █████████████████  387 B                         
pulling 6e4c38e1172f... 100%   █████████████████ 1.1 KB                         
pulling f4d24e9138dd... 100%   █████████████████  148 B                         
pulling 0cb05c6e4e02... 100%  ▕█████████████████▏ 487 B                         
verifying sha256 digest 
writing manifest 
success 

4.9 GB instead of 19 GB…

I thought let’s ask a simple question but got this:

Me: Tell something about OpenSUSE

<think>
Okay, so I’m trying to learn more about OpenSUSE. I’ve heard it’s a Linux distribution, but I don’t know much else. Let me see what I can figure out.

First, the name “OpenSUSE” stands for “open source SUSE.” I think SUSE is a company that makes some Linux-based systems, maybe enterprise ones? So OpenSUSE must be their open-source version. That makes sense because there are other distributions like Fedora or Debian that are community-driven and open source.

I remember seeing something about it being stable. Maybe it’s good for servers? I think some people use it for hosting or development environments. Stability is important, especially if you’re running a business or need reliable performance. So OpenSUSE probably has a strong focus on stability and reliability.

Also, I think there are different versions. I’ve heard of Leap and Tumbleweed. Leap is supposed to be more compatible with SUSE’s enterprise line, so maybe it’s better for businesses that already use SUSE products. Tumbleweed sounds like it’s rolling release, which means updates are more frequent but could be newer features. That might appeal to users who want the latest software.

Packaging seems important too. I think they use a system called “openSUSE Asphere” or something similar. It allows for better integration of packages and maybe easier management. This could mean that installing new software is smoother or that dependencies are handled better than in some other distros.

I wonder about the community support. Since it’s open source, there might be a community contributing to its development. But since SUSE is a company, I’m not sure if they heavily influence OpenSUSE or if it’s more community-driven like Debian or Fedora. Maybe it has both: a strong base from SUSE and contributions from the open-source community.

User experience-wise, I think OpenSUSE provides tools for system administration that might be more advanced. It could be targeted towards users who are already familiar with Linux administration rather than newbies. But I’m not entirely sure about that.

In terms of popular uses, besides servers and development environments, maybe it’s used in research or scientific computing? I can imagine that for projects needing precise control over their systems, OpenSUSE would be a good choice due to its stability.

I should also consider how user-friendly it is. Some Linux distros go out of their way to make things easy for new users with graphical tools and step-by-step guides. Does OpenSUSE do that? Or is it more geared towards technical users?

Another thought: since it’s based on SUSE, maybe there are some proprietary packages or support options available through SUSE that you can’t get from the open-source version. So if someone needs commercial support, they might have to pay extra for it.

I’m curious about how it handles package management compared to something like Debian or Ubuntu. Since it uses a rolling release model in Tumbleweed, I suppose updates are more continuous but could require more careful handling to avoid compatibility issues between versions.

Also, what’s the installation process like? Do they have an easy way to install, or does it require more manual configuration? If it’s aimed at businesses and servers, maybe it’s better for advanced users who can handle more complex setups.

In summary, OpenSUSE seems to be a solid Linux distribution focused on stability and reliability, with support for both rolling releases and long-term support versions. It’s likely used in enterprise environments and by developers who need control over their systems. I should look into specific features like package management, user experience, and community support to get a better picture.

OpenSUSE is a Linux distribution that emphasizes stability, reliability, and robustness, making it ideal for enterprise environments and technical users. Here’s an organized overview of its key aspects:

  1. Stability and Reliability: OpenSUSE is known for its high stability, which is crucial for businesses and server setups requiring dependable performance.

  2. Versions:

    • Leap: Targets compatibility with SUSE’s enterprise products, suitable for businesses using SUSE.
    • Tumbleweed: Features a rolling-release model with frequent updates, appealing to users who want the latest software.
  3. Packaging: Utilizes “openSUSE Asphere” for integrated package management, enhancing software installation and dependency handling.

  4. Community and Development: While influenced by SUSE, OpenSUSE benefits from community contributions, balancing corporate support with open-source input.

  5. User Experience: Primarily targets advanced users with tools for system administration, though it may offer graphical interfaces for ease of use to some extent.

  6. Popular Uses: Commonly used in servers, development environments, and research/scientific computing due to its stability and control.

  7. Installation and User-Friendliness: Focuses on technical users with possibly complex installation processes suited for advanced setups.

  8. Commercial Support: May offer additional support through SUSE, requiring a paid subscription for some services.

In essence, OpenSUSE is a reliable choice for those needing control and stability in their computing environments.

“OpenSUSE Asphere” where would that come from?

Sounds like Deepseek was talking out of its asphere.

2 Likes

@larryr I have an instance of open-webui and ollama running on Leap 15.6, it’s an Nvidia Container and Kubernetes, paired with an Nvidia Tesla P4, very fast :wink:

1 Like

I kinda like Asphere. Maybe we should ask Deepseek to rename OpenSUSE.

There is no ollama in Leap 15.6

LLR7:~ # zypper in ollama
Retrieving repository 'Update repository of openSUSE Backports' metadata .[done]
Building repository 'Update repository of openSUSE Backports' cache ......[done]
Retrieving repository 'Update repository from SUSE Linux Enterprise 15' me[done]
Building repository 'Update repository from SUSE Linux Enterprise 15' cach[done]
Loading repository data...
Reading installed packages...
'ollama' not found in package names. Trying capabilities.
No provider of 'ollama' found.
Resolving package dependencies...
Nothing to do.
LLR7:~ # uname -a
Linux LLR7 6.4.0-150600.23.33-default #1 SMP PREEMPT_DYNAMIC Thu Jan  9 14:10:22 UTC 2025 (ba46628) x86_64 x86_64 x86_64 GNU/Linux
LLR7:~ #

@larryr That’s why I run on k3s and install via a helm chart…

I was going to Reply in this thread days ago, to mention WE WOULD NEVER use a software product with the country of origin as with Deepseek.

Anyway, I just read an article that proves our opinion (This could’ve been another XZ Utils “Jia Tan” attack):

One paragraph quoted from link article:
Not long after emerging onto the AI scene and significantly disrupting the US tech markets, a leaky DeepSeek database has reportedly been discovered online.

1 Like

As if this not happens with any other piece of software daily…
A security issue gets discovered and is adressed shortly after.

1 Like

Hello all,
Exposing my datas to a Chinese AI ? NEVER, NEVER, NEVER !
They officially admit doing it without any king of shame !

I have it running in a Virtualbox machine that has the network on an ip that has no connectivity and the local Deepseek does not do anything after it is installed on the network.

It does have to be on the network to download the run file the 1st time.

If you install the app - it does use the Chinese servers and might expose your data.

The local is slow but does not use the network - so your data is safe.

1 Like

Hi i would say that running Ollama on a local machine is pretty much the opposite of sharing data with anyone. No matter what LLM model is used. This thread is not about the DeepSeek app for your mobile phone or cloud services.

3 Likes

I installed ollama from OpenSUSE repositories (not using a script), but it does not use my nvidia 1660 SUPER GPU, what to do?

This card is not listed, so you need to check its capabilities::

Nvidia does not list this card as Cuda compatible…strange, other sources says this card has Cuda capabilities…

It sure does:
image
And also it is detected:

time=2025-02-02T16:42:43.373+01:00 level=INFO source=types.go:131 msg=“inference compute” id=GPU-… library=cuda variant=v12 compute=7.5 driver=
12.8 name=“NVIDIA GeForce GTX 1660 SUPER” total=“5.6 GiB” available=“5.0 GiB”

But in runners its only cpu:

time=2025-02-02T16:42:43.063+01:00 level=INFO source=routes.go:1267 msg=“Dynamic LLM libraries” runners=[cpu]

Someone mentioned to use ollama-cuda package, but it is only for arch linux

The script method mentioned above installs a build that contains CUDA and ROCm support.

Yes…And I wasted like 5 hours of troubleshooting because of that. :sob: I just uninstalled package and run this curl script. Yeah it works now as intended, even better. Thank you so much then. :+1:

I also attempted to use the package from the repos, and it was entirely CPU-bound. I switched to using the Docker container, and after a little troubleshooting to figure out how to get my GPU (3090ti) to be used by Docker, it’s been running for about 12 hours.

Locally hosted keeps it sandboxed and doesn’t share the data with anyone. A data model is not executable, and does not have access to the internet.

The part of this that I’ve found to be extremely educational is to watch it actually “think” - something that you can’t do with other models I’ve played with. Deepseek-R1’s model, before it starts to respond, goes through a phase of understanding the request.

Another interesting capability is it can do some math. I’ve asked it questions about a statistical field I’m interested in; it got formulas incorrect, but uses LaTeX formatting to represent them (using open-webui, it’ll actually render the LaTeX beautifully), and you can give it formulas in that format and it understands them.

I fed it one formula, and it told me what the different terms were (I am using RAG - ollama can support ingesting provided local files, so I gave it a PDF on the subject matter, and it seems to have used it in some cases).

Pretty interesting stuff.

1 Like

For those that want to limit the number of CPU (I found that 4 is just as fast as 20 on Intel i7)

you need to do a ollama show to create a modelfile to add the Parameter to limit to 4 threads

add this in the PARAMETER section after the last line

PARAMETER num_thread 4

here I create from the deepseek-r1:8b file a new one with 4 threads running

ollama show deepseek-r1:8b --modelfile > mfdeepseek-r1
vi  mfdeepseek-r1 
ollama create deepseek-r1-4:8b -f ./mfdeepseek-r1
ollama run deepseek-r1-4:8b
1 Like

Executed on openSUSE Leap 15.6 – model: deepseek-r1:70b

Hello! How can I help you?
What do you know about openSUSE? And if you would rename it to something else, what would be the name that you would suggest based on what you know about it?

Thinking
Okay, so I need to figure out a good alternative name for openSUSE. I’m not super familiar with all the details, but I remember that openSUSE is an open-source Linux distribution. It’s known for being user-friendly and having a strong community. The current name is a combination of “open” and “SUSE,” where SUSE itself stands for something in German related to software. I should think about what makes openSUSE unique. They have the rolling release model with Tumbleweed, which keeps the system updated, and Leap, which is more stable. Also, their community is a big part of it, maybe called the openSUSE Project. They use a green chameleon as a mascot named Gecko. So, if I were to rename it, I should incorporate elements that reflect these aspects: openness, community, stability, and perhaps something about adaptability or rolling updates. Maybe using a creature as a mascot is good because it’s memorable. Let me brainstorm some words related to these themes. Openness could be “Open,” “Libre,” “Free.” Community might involve “Community,” “Unity,” “Together.” Stability could use words like “Stable,” “Rock,” “Solid.” Rolling updates might relate to movement or change, so maybe “Flow,” “Stream,” “Current.” Putting these together. Maybe something like “LibreFlow” since it suggests freedom (libre) and continuous flow of updates. Or “OpenStream” combining openness with a flowing stream of updates. “GreenOS” could reference the color green from their mascot. “TumbleOS” after Tumbleweed, but that might be too specific. I also want something catchy and easy to remember. “LibreFlow” sounds good, it’s not too long and combines key aspects. Alternatively, “SUSE Flow” since SUSE is part of the original name and flow indicates the rolling updates. Another angle: maybe a play on words related to chameleons, but I don’t want to make it too specific to an animal unless it’s well-known. Maybe “ChromaOS,” referencing color change, but that might not be directly relevant. “OpenCurrent” could imply being up-to-date and in the current state, which ties into Tumbleweed’s rolling releases. Or “UnityLinux” emphasizing community and togetherness. I think “LibreFlow” is a solid choice because it encapsulates both the open-source nature and the continuous updates aspect. It also sounds modern and is easy to pronounce.

Based on the thought process, a fitting alternative name for openSUSE would be LibreFlow. This name effectively captures the essence of openness (libre) and the continuous flow of updates characteristic of its rolling release model. It is catchy, memorable, and reflects key aspects of the distribution’s identity.
tokens used: 123, model: Ollama (deepseek-r1:70b)


You did not reply to my first question. And, I want you to suggest names for openSUSE keeping in mind that “SUSE” cannot be used in the suggested names and should not be used in the process of defining the new names.

Thinking
Alright, let me try to figure this out step by step. First, the user is asking about what I know regarding openSUSE and then wants a name suggestion without using “SUSE”. In my previous response, I mentioned LibreFlow, but now the user points out that I didn’t answer their first question and specifically instructed not to use any form of “SUSE” in the new names. I need to address both parts this time. Let me start by explaining what openSUSE is. It’s an open-source Linux distribution known for stability and a strong community, with tools like YaST and Zypper. It has two main versions: Leap and Tumbleweed. Now, for the renaming part, I must ensure that none of the suggested names include “SUSE” or any derivatives. I should focus on elements that represent openSUSE’s core values: openness, freedom, community, stability, innovation, and the rolling release model. Let me brainstorm some themes. Maybe using Latin roots since many tech names do that. Words like “libre” for freedom, “flux” for continuous flow, or “nova” for newness could work. Also, considering terms related to nature might help, like streams or mountains symbolizing stability. I should come up with a list of 10 names and explain each one based on what openSUSE stands for. Making sure they’re catchy and reflect the distribution’s identity without any reference to SUSE. Okay, I’ll structure my response by first explaining openSUSE in detail, then listing the suggested names with brief explanations. This way, both parts of the user’s request are addressed properly.

You’re absolutely right—my earlier response didn’t fully address your first question. Let me correct that and provide a comprehensive answer.

What I Know About openSUSE:
openSUSE is an open-source Linux distribution sponsored by SUSE, a global leader in enterprise software. It serves as the community-driven version of SUSE Linux Enterprise (SLE), with a strong focus on stability, security, and innovation. Here are some key points about openSUSE:
1. Community-Driven:
OpenSUSE is developed collaboratively by a worldwide community of contributors, including developers, testers, and translators.
2. Enterprise-Grade Foundation:
It shares its base with SUSE Linux Enterprise (SLE), meaning it inherits enterprise-level stability and reliability.
3. Two Main Editions:
◦ openSUSE Leap:
A stable, fixed-release version that closely follows the SLE codebase. It is ideal for users who prefer a rock-solid system with long-term support.
◦ openSUSE Tumbleweed:
A rolling-release edition that provides the latest software packages as they are released upstream. It’s perfect for developers and power users.
4. Package Management:
OpenSUSE uses the RPM package format and offers tools like YaST (Yet Another Setup Tool) and Zypper for system configuration and package management.
5. Strong Emphasis on Open Source:
OpenSUSE is deeply committed to open-source principles, fostering collaboration and contributing upstream to various Linux projects.
6. Cross-Platform Compatibility:
It supports a wide range of hardware architectures, including x86, ARM, and POWER.
7. Desktop Environments:
OpenSUSE provides several desktop environments, such as KDE Plasma, GNOME, XFCE, and more, catering to different user preferences.

Renaming openSUSE (Without Using “SUSE”):
If I were to suggest alternative names for openSUSE while adhering to your constraint of not using “SUSE” or any derivative, here are some ideas:
1. LibreFlow:
Inspired by the Latin word libre (meaning “free”) and flow, symbolizing the continuous updates in Tumbleweed.
2. NovaCore:
Suggesting innovation (nova) and a strong core foundation for enterprise and community use.
3. FreedomOS:
Reflecting its open-source nature and commitment to user freedom.
4. Streamix:
Highlighting the rolling-release model (Tumbleweed) and the “mix” of stability and cutting-edge features.
5. Solidux:
Emphasizing stability (solid) and Linux (ux), appealing to enterprise users.
6. OpenFlow:
Representing openness and the continuous flow of updates in Tumbleweed.
7. CommuOS:
Short for “Community Operating System,” reflecting its collaborative development model.
8. ZenithLinux:
Symbolizing a peak or pinnacle in Linux distributions, emphasizing quality and reliability.
9. FluxOS:
Inspired by the continuous flux of updates and improvements in openSUSE.
10. Liberix:
A combination of libre (free) and the suffix ix, common in Unix-like systems, to emphasize freedom and Linux heritage.

Final Thoughts:
My top suggestion would be LibreFlow, as it captures the essence of openSUSE’s commitment to freedom and continuous innovation. It also has a modern and memorable ring to it.
tokens used: 927, model: Ollama (deepseek-r1:70b)