Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

For a documented Linux install, Ollama provides a short setup command and a command to download and run Llama 3.2. Ubuntu also documents an Ollama Snap installation. The commands below come from those projects’ documentation; they are not independent tests on Ubuntu 26.04 or 24.04, and neither source provides a compatibility matrix for the two releases.

What you need to know before installing

Ubuntu’s AI-on-Ubuntu page says a fresh Ubuntu 26.04 LTS Desktop installation includes no built-in AI tooling. Installing a runtime such as Ollama is therefore a separate step. The Ubuntu documentation index lists both Ubuntu 26.04 LTS and 24.04 LTS, but the sources cited here do not certify every installation route on each release.

A model’s parameter count, listed download size, installed storage use, RAM requirement, GPU VRAM requirement, and speed are different things. Treat model sizes below as Ollama’s listed download figures, not as a promise that a model will fit or run quickly on a particular computer.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install and run Llama with Ollama

Linux install script

Ollama documents this command for Linux installation:

#1 Best Overall
Lenovo IdeaPad Slim 3 Linux Laptop, 15.6" FHD Touchscreen Laptop, 8-Core AMD Ryzen 7 5825U, 16GB RAM, 512GB SSD, Keypad, SD Card Reader, Stylus Pen + External Portable SSD + USB Hub, Linux Ubuntu OS
  • Powerful Linux Laptop: This IdeaPad Slim 3 Laptop comes pre-installed with Ubuntu Linux, offering fast performance, robust security, and a clean, user-friendly experience. Enjoy full customization, seamless hardware compatibility, and access to thousands of open-source apps. Whether you're working, creating, or coding, it's built to keep up with everything you do.
  • A Multitasking Master: The latest AMD Ryzen 7 5825U processor (up to 4.5 GHz) delivers powerful performance with 8 cores and 16 threads for smooth multitasking. Integrated AMD Radeon Graphics provide crisp visuals for streaming, browsing, photo editing, and casual gaming. With smart machine intelligence, it adapts to your needs for a fast, responsive experience.
  • 15.6" Full HD Display: The IdeaPad Slim 3 boasts an 88% screen-to-body ratio for a floating, edge-to-edge visual experience. TÜV Low Blue Light certification reduces eye strain, making it perfect for long work or study sessions.
  • Military-Grade Durability: The smart IdeaPad Slim 3 combines portability and durability, letting you work, study, and play on the go. With a profile 10% slimmer than the previous generation, it's lightweight yet military-grade rugged, ready for anything, anywhere.
  • Versatile Connectivity: Enjoy the security of a built-in webcam with a privacy shutter. Connect effortlessly with multiple ports: 2x USB A, 1x USB C, 1x HDMI, 1x SD Card Reader, 1x Headphone/Microphone combo. Bundle comes with Stylus Pen, 256GB Portable SSD and 5-in-1 Docking Station.
curl -fsSL https://ollama.com/install.sh | sh

After installation, run the Llama 3.2 example:

ollama run llama3.2

Ollama says this command downloads the model if needed and opens an interactive chat. These are documented commands, not commands independently tested on Ubuntu 26.04 or 24.04. See the Ollama quickstart.

Ubuntu Snap route

Ubuntu’s AI-on-Ubuntu page documents installing Ollama as a Snap:

sudo snap install ollama

That page’s sample run command uses Qwen, not Llama. To use Llama after installing the Snap, run Ollama’s documented Llama command:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
ollama run llama3.2

This combines Ubuntu’s documented installation route with Ollama’s model command; Ubuntu’s example itself does not use Llama. See Ubuntu’s AI-on-Ubuntu page.

Choose a Llama model and understand its listed size

Ollama’s quickstart lists the following model examples and commands. The GB figures are the page’s listed download sizes; library tags and sizes can change, so consult the Ollama quickstart if exact current values matter.

Model example Parameters Listed download size Run command
Llama 3.2 3B 2.0 GB ollama run llama3.2
Llama 3.2 1B 1.3 GB ollama run llama3.2:1b
Llama 3.2 Vision 11B 7.9 GB ollama run llama3.2-vision
Llama 3.2 Vision 90B 55 GB ollama run llama3.2-vision:90b
Llama 3.1 8B 4.7 GB ollama run llama3.1
Llama 3.1 70B 40 GB ollama run llama3.1:70b
Llama 3.1 405B 231 GB ollama run llama3.1:405b

For a first run, smaller parameter counts are the more plausible place to start if your machine has limited resources, but the table does not establish a minimum RAM figure for each listed variant. The download size is not total disk use after installation, nor is it a measure of RAM or GPU VRAM needed while running.

How much RAM does Llama need?

Ollama’s quickstart gives broad available-RAM guidance by parameter count: at least 8 GB for 7B models, 16 GB for 13B models, and 32 GB for 33B models. This is general guidance from Ollama, not a fit guarantee or a GPU requirement. It does not specify context length or promise a particular speed, and it should not be extrapolated as an exact minimum for every Llama variant above.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
64GB - 16-in-1, Bootable USB Drive 3.2 for Linux & Windows 11, Zorin | Mint | Kali | Ubuntu | Tails | Debian, Supported UEFI and Legacy
  • ✅For beginners, refer image-7, its a video boot instruction, and image-6 is "boot menu Hot Key list"
  • ✅16-IN-1, 64GB Bootable USB Drive 3.2 , Can Run Linux On USB Drive Without Install, All Latest versions.
  • ✅Including Windows 11 64Bit & Linux Mint 22.3 (Cinnamon)、Kali 2026.02、Ubuntu 26.04、Zorin Pro 18、Tails 7.8.1、Debian 13.5.0、Garuda 2026.03、Fedora Workstation 44、Manjaro 25.06、Pop!_OS 22.04、Solus 2026.04、Archcraft 26.05、Neon 2026.06、Fossapup 9.5、Sparkylinux 8.3, All ISO has been Tested
  • ✅Supported UEFI and Legacy, Compatibility any PC/Laptop, Any boot issue only needs to disable "Secure Boot"

If considering a 32GB RAM kit for a computer intended to run larger models, first check the device’s supported memory type, maximum capacity, and upgradeability. The documentation does not establish a universal hardware configuration.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Useful Ollama commands after installation

Ollama documents these commands for managing a local model:

  • ollama pull llama3.2 downloads or updates the model; Ollama says an update downloads only the difference.
  • ollama list lists locally available models.
  • ollama show llama3.2 displays model information.
  • ollama ps shows running models.
  • ollama stop llama3.2 stops the model.
  • ollama rm llama3.2 removes the model.

Ollama also documents ollama serve to start Ollama without its desktop application. Its local REST API is documented at http://localhost:11434, with /api/generate and /api/chat endpoints. These are documentation details, not evidence of a security audit or a privacy guarantee.

When to use llama.cpp and GGUF instead

llama.cpp is an alternative if you specifically want its CLI or a GGUF-based workflow. Its model documentation says compatible models can be fetched with -hf <user>/<model>[:quant] or run from a local file. Models must be in GGUF format; other formats can be converted with project scripts. Its documented example uses Gemma, not Llama:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
llama cli -hf ggml-org/gemma-3-1b-it-GGUF

That example should not be mistaken for a Llama command. No specific current Llama GGUF repository and tag, or verified end-to-end Llama command, is established here. GGUF download sizes also depend on the model and quantization, so Ollama’s listed sizes above do not apply. See the llama.cpp model documentation.

Ubuntu version and hardware caveats

The Ubuntu AI page was last edited on September 25, 2026. It states: “As of Ubuntu 26.04 LTS, a fresh installation of Ubuntu Desktop contains no built-in AI tooling.” The reviewed documentation does not provide an Ollama compatibility matrix or separate test results for Ubuntu 26.04 and 24.04. Hardware acceleration can also depend on the specific machine and drivers; these sources do not support a GPU recommendation or a conclusion about acceleration on either release.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.