Rate This Document
Findability
Accuracy
Completeness
Readability

Environment Requirements

This document uses Ollama 0.19.0 as an example to describe how to compile and build Ollama on openEuler 24.03 LTS SP3. In addition, this section describes other environments supported by source code build verification.

Supported Versions

Table 1 Supported versions

OS

Go (for the OS Repository)

Go (for Building Ollama)

Ollama

openEuler 24.03 LTS SP3

Go 1.21.4

Go 1.24.1

Ollama 0.19.0

openEuler 22.03 LTS SP4

Go 1.17.3

Go 1.24.1

Ollama 0.19.0

Go 1.24.1 is required in the source code statement of Ollama 0.19.0. The openEuler 24.03 LTS SP3 repository provides golang 1.21.4-44.oe2403sp3, and the openEuler 22.03 LTS SP4 repository provides golang 1.17.3-34.oe2203sp4, both of which are lower than the build requirements of Ollama 0.19.0. Therefore, the Go 1.24.1 toolchain officially released by Go is used to build Ollama 0.19.0.

Component Requirements

Table 2 Version requirements for dependent components

Component

Version

GCC

12.3.1-105.oe2403sp3

GCC-C++

12.3.1-105.oe2403sp3

make

4.4.1-2.oe2403sp3

CMake

3.27.9-8.oe2403sp3

Git

2.43.0-10.oe2403sp3

Go

1.24.1

CUDA Toolkit

13.0