LinuxAlternative

Linux · Ferramentas do Sistema

Ollama

Ollama is a lightweight local LLM manager for Linux, enabling users to run and switch between large language models without cloud dependencies.

Código abertoGrátis
Seja o primeiro a avaliar
Licença
Apache-2.0
Versão mais recente
0.40.7

O que é o Ollama?

Ollama was launched in late 2023 by the team behind the popular Llama model. It ships as a simple command‑line tool that downloads model binaries, stores them locally, and exposes a REST API for inference. The project has received regular updates, with the latest release adding support for GPU acceleration on both NVIDIA and AMD hardware.

The target audience is developers, researchers, and power users who want to experiment with LLMs on their own machines. It is especially useful for those who prefer not to rely on cloud services due to privacy or bandwidth concerns.

Compared to Windows‑centric AI assistants like Microsoft Copilot, Ollama feels more hands‑on. You control the entire stack, from model selection to inference speed, and you can integrate it into scripts or IDEs without waiting for a vendor’s update cycle.

Ideal para: Users who need full control over LLMs and prefer local inference over cloud services.

Principais recursos do Ollama

  • Local model hosting via Docker or native binaries
  • Supports Llama, Mistral, and other open‑source models
  • GPU acceleration with CUDA, ROCm, or CPU fallback
  • REST API for easy integration
  • CLI for model download, list, and removal
  • Built‑in model quantization for memory savings
  • Cross‑platform packaging (Arch, openSUSE, Fedora)

Prós

  • No cloud dependency, preserving privacy
  • Fast inference on local GPUs
  • Open‑source and free to use
  • Easy to add new models
  • Active community support

Contras

  • Requires significant local storage for models
  • Limited pre‑built UI; mainly CLI
  • No built‑in chat interface
  • Learning curve for API usage

Programas do Windows que o Ollama substitui

Como instalar o Ollama no Linux

Fedorasudo dnf install ollama
Arch / Manjarosudo pacman -S ollama-rocm
openSUSEsudo zypper install ollama

Dicas para quem vem do Windows

If you’re coming from Microsoft Copilot, note that Ollama does not provide a graphical assistant out of the box. You’ll interact via the command line or by calling its REST API from scripts. Model files are stored in ~/.ollama/models, and you can switch models with ollama list and ollama use <name>. Keyboard shortcuts are irrelevant; instead, focus on API endpoints and CLI flags. Workflow changes: instead of a single integrated assistant, you’ll run a local server and send prompts programmatically.

Ollama: perguntas frequentes

Can I use Ollama on a Windows machine?

Ollama is available for Windows, but this guide focuses on Linux installations via Arch, openSUSE, or Fedora packages.

Does Ollama require a GPU?

No, it can run on CPU, but performance is significantly better with an NVIDIA or AMD GPU and the appropriate drivers.

How do I add a new model?

Use ollama add <model_name>; the tool will download the model from the official repository and store it locally.

Is there a graphical interface?

Not yet. You can build one yourself using the REST API or use third‑party GUIs that integrate with Ollama.

Atualizado em