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?
- Start a Python project
Pick uv to manage Python versions, dependencies, and environments. - Build and run a local app
Pick a compiled language or web runtime. Add Podman if you need containers. - Explore a CSV
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
Systems & Compiled Languages
- RustBuild native apps and command-line tools. Use rustup.
- GoBuild CLIs and web services. Use Ubuntu APT when the packaged version fits, or the official Go archive.
- ZigBuild native programs or work with C libraries. Use the official versioned binary.
- OdinBuild native programs with Odin. Use the official compiler archive.
- .NET (C#)Build C# apps and services. Use Ubuntu APT for the SDK.
- JavaDevelop JVM applications. Install the OpenJDK version your project requires with APT.
- SwiftWork on Swift libraries and tools. Use Swiftly.
Web, Scripting & Functional Runtimes
- BunRun JavaScript or TypeScript with a bundled package manager. Use the official installer.
- DenoRun scripts with explicit permissions. Use the official installer.
- PHP with NginxBuild server-side web apps. Install PHP through Ubuntu APT using the Nginx and PHP-FPM setup, or follow LAMP for Apache.
- ElixirBuild concurrent applications on the BEAM. Use the matching official Elixir and Erlang/OTP installer.
- GleamBuild typed BEAM projects. Use mise with a compatible Erlang/OTP release.
- PythonSet up a Python interpreter and virtual environment. Use Ubuntu APT for the distro version or uv for a project-specific version.
- TypeScriptAdd static types to a JavaScript project. Install TypeScript locally with npm.
AI, Data Science & Analytics
- MojoExperiment with performance-oriented code. Use Modular’s package channel via Pixi.
- JuliaRun numerical and scientific workloads. Install with Juliaup.
- R and RStudioAnalyze data and make plots. Use Ubuntu APT for R and Posit’s package for RStudio.
- DuckDBQuery local CSV and Parquet files with SQL. Use the official CLI installer.
- ClickHouseRun a database server for analytical queries. Use the official APT repository.
- QdrantBuild vector search for similar items. Use the official Docker image with a named volume.
Databases, Containers & Server/DevOps
- ValkeyCache data or store key-value records. Use Ubuntu APT.
- SurrealDBRun a local database and query it with SurrealQL. Use the official Linux installer.
- MongoDBStore flexible JSON-like documents. Use the official APT repository for your Ubuntu codename.
- PodmanRun and build rootless containers. Use Ubuntu APT.
- CaddyServe sites with HTTPS or reverse proxy an app. Use the official stable APT repository.
- OpenTofuManage infrastructure as code and preview changes before applying them. Use the official signed APT repository.
