Run Powerful AI Locally: Install Ollama on Ubuntu Linux – Complete Guide
Want to run large language models like Llama, Gemma, or DeepSeek completely offline on your Ubuntu machine? Ollama makes it incredibly easy. It’s a lightweight, open-source tool that lets you download and run powerful AI models locally with simple terminal commands — perfect for privacy, zero API costs, and fast development.
Step-by-Step Installation on Ubuntu
Update Your System
Open the terminal and run:sudo apt update && sudo apt upgrade -yInstall Ollama
Use the official one-line installer:curl -fsSL https://ollama.com/install.sh | shThis automatically sets up Ollama and starts the service.
Verify Installation
Check the version:ollama --versionDownload & Run Your First Model
Pull a model (start with smaller ones likellama3.2orphi3for testing):ollama pull llama3.2 ollama run llama3.2Now you can chat directly in the terminal!
Sort: Trending
[-]
successgr.with (75) 14 hours ago
