Jump to content
Search

The new Ubuntu Wiki is live. Legacy content may be unavailable and page links may have changed. Read the announcement on Discourse.

AI on Ubuntu

From Ubuntu Wiki
(Redirected from AI)

Ubuntu supports a variety of AI[1] tools and workflows.

AI on Ubuntu Desktop

Is AI bundled into the Desktop?

As of Ubuntu 26.10, a fresh installation of Ubuntu Desktop contains no built-in AI tooling. So no AI features need to be configured or disabled.

Are there plans for AI features?

AI features are being developed for future releases of Ubuntu, as part of plans to build a context-aware Desktop.

These initiatives aim to improve accessibility. They include Myna, a dictation application that uses local speech recognition models and a privacy‑first design. Myna uses speech recognition models that operate locally to keep data private.

Developer toolchains

Ubuntu offers toolchains that help build machine learning models and AI apps right on the Desktop. It works well with programming languages and frameworks. You can find support for Python, TensorFlow, PyTorch and many other tools. This makes it a great choice, for Developers who want an flexible environment. The system is easy to set up. The community is strong. So whether you are just starting or building systems Ubuntu has the tools you need.

Python

Python is installed by default in recent versions of Ubuntu:

python3 --version

To create a development environment, you can either use the standard library venv module, or your favorite workflow tool:

# with stdlib venv
python3 -m venv .venv

# with uv
sudo snap install astral-uv
uv venv  # optionally `-p 3.14` to pick the Python version

For more information, read about Python support in the official Ubuntu for developers documentation.

NVIDIA CUDA

From Ubuntu 26.04, installing the CUDA toolkit is straightforward:

sudo apt install cuda-toolkit

Local LLMs

Run LLMs on your Ubuntu machine without requiring a cloud service or subscription.

Inference snaps

These are models that you can install locally as a snap that are optimized for your machine.

Example:

sudo snap install gemma4
gemma4 chat

Read the official inference snap documentation.

Ollama

Run open models, locally on your machine or using Ollama's cloud models:

Example:

sudo snap install ollama
ollama run qwen3:0.6b

Read the Ollama docs.

Development environments

Workshop

Workshop is a container technology that can be used to make composable environments for safe agentic development.

Read the getting started tutorial in the official Workshop documentation.

Notes

  1. ↑ Here, the term “AI” is used broadly to refer to technologies that leverage generative AI, large language models, and AI agents. The term itself predates these developments by decades. Its usage here reflects its popular contemporary meaning, which is likely to be familiar to most readers.