Rate This Document
Findability
Accuracy
Completeness
Readability

Installation and Verification

  1. Obtain the Ollama binary file and install it.
    1
    2
    wget https://github.com/ollama/ollama/releases/download/v0.19.0/ollama-linux-arm64.tar.zst
    tar x -C /usr -f ollama-linux-arm64.tar.zst
    
  2. Check whether Ollama is successfully installed.
    1
    ollama --version
    
    If the following information is displayed, the installation is successful.
    1
    client version is 0.19.0
    
  3. Start the Ollama service.
    1
    OLLAMA_HOST=0.0.0.0:11434 ollama serve
    

    After the service is started, run the following command to check whether the API is accessible:

    1
    curl http://127.0.0.1:11434/api/tags