Set up an Ubuntu development environment by installing the basic tools first, then choosing the language, database, or service your project needs. Most of the same setup works on Ubuntu 26.04 LTS and 24.04 LTS, though the two releases ship different versions of some packages.
Before you begin
Check your Ubuntu version and use a terminal with sudo access. On a fresh install, run the command below to install compilers and build tools, Git, curl for downloads, unzip for ZIP archives, and trusted certificates for HTTPS.
Which install method should you use? On either LTS, start with Ubuntu APT when it has the right package and the version meets your project’s requirements. Check with apt-cache policy PACKAGE, replacing PACKAGE with the actual name. If the package is missing or you need a different version, use the project’s installer, binary, or signed repository. Use mise when projects need different toolchain versions and uv for Python projects. Keep Ubuntu’s system Python in place and use one installation method per tool to avoid conflicting copies on PATH.
Where should I start?
Pick uv to manage Python versions, dependencies, and environments.
Pick a compiled language or web runtime. Add Podman if you need containers.
Choose DuckDB for SQL or R and RStudio for statistics and plots.
Ubuntu 26.04 vs. 24.04 at a glance
These are the Ubuntu archive package series. Your installed patch version depends on your architecture and enabled updates.
| Package | Ubuntu 26.04 LTS | Ubuntu 24.04 LTS | What to do |
|---|---|---|---|
| .NET SDK | .NET 10 in Ubuntu APT | .NET 10 in Ubuntu APT | Use dotnet-sdk-10.0 on both when the project targets .NET 10. |
| Podman | 5.7 series | 4.9 series | Use Ubuntu APT and check your version before following examples that assume Podman 5. |
| Valkey | 9.0 series | 7.2 series | Use Ubuntu APT for local development and check which major version your deployment uses. |
| Zig | Ubuntu’s zig package pulls Zig 0.14 | No zig package in the standard archive | Use the official versioned binary for pinned projects or to match compilers across releases. |
| Odin | APT package is MRI software | Same package name collision | Use the official Odin compiler archive on both. |
| PHP | Default PHP 8.5 | Default PHP 8.3 | Check the application’s PHP requirement before choosing the default package. |
Version Managers & Modern Shell
Version managers let projects use different tool versions on the same machine. A shell is where you run commands, and Nushell lets you filter and sort their output as tables.
Systems & Compiled Languages
Compilers and SDKs turn source code into something you can run. Choose one based on what you want to build or the version your project already requires.
Web, Scripting & Functional Runtimes
These tools run web apps and scripts, with options for JavaScript, PHP, Python, and applications that run on the Erlang virtual machine. Start with the language or runtime your project expects.
AI, Data Science & Analytics
Use these tools to analyze files, run statistical calculations, or find similar records. A local tool like DuckDB is enough for a CSV, while a database server helps when an application or team needs shared access.
Databases, Containers & Server/DevOps
These tools handle the parts around your app. Databases store data, containers package the app and its dependencies, web servers handle requests, and infrastructure tools define where it runs.
