Rust in Ubuntu 25.10 and 26.04: What Changed for Users and Admins
Ubuntu 25.10 began replacing core tools with Rust versions, starting with sudo. What changed, and what carried into 26.04 LTS.
3 min readBy Shailabh
Reviewed by the AmazingRDP technical team

Want to try a new Ubuntu release without touching your own machine? A Linux VPS is a clean place to test. See Linux VPS from $6.99
Ubuntu 25.10, "Questing Quokka", was the release in which Canonical started swapping some of the oldest parts of the system for versions written in Rust, a programming language that rules out whole classes of memory bugs. It was the trial run for the long-term release that followed, Ubuntu 26.04 LTS. This page was first written while 25.10 was in development; it now describes how things turned out.
What changed in Ubuntu 25.10
| Part | Before | From 25.10 |
|---|---|---|
sudo | The classic sudo, written in C | sudo-rs, a rewrite in Rust |
Basic commands (ls, cat, sort and others) | GNU coreutils | Rust coreutils (the "uutils" project) |
| Hardware information for Ubuntu Pro | None in the main archive | rust-hwlib, a small Rust library from Canonical's hardware project |
Alongside the Rust work, 25.10 moved the GNOME desktop to Wayland only, with no X11 session to choose at login, and shipped a newer kernel.
The hardware library
The package this page was first about, rust-hwlib, reads what hardware a machine has so that Ubuntu's tools can compare it with Canonical's list of tested and certified hardware. It matters mostly to companies that buy certified machines; home users will not notice it.
What it means when you type sudo
For everyday use, nothing: the same commands, the same /etc/sudoers rules. Two differences people notice:
- The password prompt shows asterisks as you type on the newest release.
- A few rarely used options of the classic sudo are not implemented. Complex sudoers files written for unusual setups should be tested before upgrading servers.
The classic version stays installable as a fallback.
What carried into Ubuntu 26.04 LTS
Ubuntu 26.04 LTS, released in April 2026, keeps both changes: sudo-rs is the default sudo, and the Rust core utilities are the default set. Canonical held a few commands back on the GNU versions for that release, among them cp, mv and rm, after a review of the remaining differences. The traditional packages remain available.
Ubuntu 25.10 itself was an interim release with nine months of support, which ended in mid-2026. If a machine still runs it, upgrade to 26.04 LTS.
Check what your system uses
sudo --version
ls --version
apt policy sudo-rs rust-coreutils
The first two lines name the implementation in their output ("sudo-rs", "uutils"). The third shows whether the Rust packages are installed.
What to test before upgrading a server
- Scripts that parse command output. The Rust commands aim to behave exactly like the GNU ones, but error messages and some corner cases differ.
- Custom sudoers rules, especially with plugins or unusual options.
- Programs that need X11, if the machine has a desktop: they now run through the XWayland compatibility layer.
Test on a copy first. A fresh Linux VPS with the new release is a cheap place to run your scripts before you touch production.
Why Rust?
A large share of serious security bugs in system software are memory errors: reading or writing where a program should not. Rust's compiler refuses code that could do that, so a rewrite removes that kind of bug from tools that run with the highest rights on every machine. The cost is the risk of new behaviour differences, which is why Canonical tried the change in an interim release first.
Related guides: fix "sudo: command not found" in Linux, grant sudo access to a user in Ubuntu, Ubuntu Server vs Ubuntu Desktop and find the OS version from the command line.
Questions
What is sudo-rs?
A rewrite of the sudo command in the Rust language. It is the default sudo from Ubuntu 25.10 on.
Does Ubuntu 26.04 LTS use Rust coreutils?
Yes, as the default set, with a few commands such as cp, mv and rm kept on the GNU versions in that release.
Is Ubuntu 25.10 still supported?
No. It was an interim release supported for nine months. Upgrade to 26.04 LTS.
Can I go back to the classic sudo?
Yes. The traditional package remains available as a fallback.