Rust for Ubuntu

Built on trust, built with Rust

Whether you’re an enterprise looking for securely designed code, or a builder exploring the toolchain, Ubuntu is the best platform for Rust development.


Zero to Rust development in minutes

Trying out Rust for the first time? Or maybe you want bleeding-edge nightly builds? Whatever your use case, our rustup snap makes it easy to get any Rust toolchain onto your machine. Simply run the commands below:

sudo snap install rustup; rustup install stable

rustup serves you a full compiler suite, alongside a language server, formatting, and linting. Batteries are included – just bring your favorite IDE.


You can count on us

Rust is still an evolving language, but that doesn’t mean you need to compromise on stability and reproducibility. We provide as-needed backports of the newest Rust toolchains for the two most recent Ubuntu LTS releases, helping to ensure that any fixes for bugs and vulnerabilities requiring newer Rust toolchains can be applied.

We also take care of security maintenance. With Ubuntu Pro, our support lifetime for Rust toolchain packages on Ubuntu LTS releases is consistent with other Universe packages (up to 15 years).

What’s more, Ubuntu 26.04 LTS comes with cargo-auditable functionality as opt-in for Rust binaries, giving you peace of mind when it comes to auditing bugs and security vulnerabilities in production.


And we’re not done yet…

We’re committed to carefully but purposefully oxidizing Ubuntu. From Kernel Space to Userland, we’re focusing our efforts on replacing legacy C code with Rust, setting up a solid foundation for building Rust tools, and sharing our results with the world.

Our team of Rust advocates are busy working on new features to improve the Rust developer experience on Ubuntu.

Chiseled Rust containers

Canonical’s answer to the distroless security gap, our chiseled Ubuntu containers are managed bottom-up using Chisel, a novel package manager that slices packages to create compact, securely designed software. Minimal in size, but retaining all the metadata needed for accurate security scans.


rustup snap

The rustup snap installs Rust from the official release channels, enabling you to easily switch between stable, beta, and nightly compilers, running on all platforms supported by Rust.


To check out the latest updates from the Rust team and join the conversation, visit our Rust space on Discourse.