Ghostboard pixel

BTW, Arch Users! Pacman Might Be Getting a Rust Replacement

The Rust-based ALPM project is looking suspiciously like Pacman's replacement.
Warp Terminal

Arch Linux users know that Pacman is an essential piece of kit that handles everything from installing and removing software to managing dependencies and keeping the entire system up to date.

But recent developments suggest there could be a successor in the works. A new project called Arch Linux Package Management (ALPM) has been making significant progress, and it's built entirely in Rust.

Is Pacman Old News?

A recent year-end report from the Arch Linux development team has shed light on just how much work has gone into the ALPM project. It reveals that the Sovereign Tech Fund's 15 months of funding have allowed the team to accomplish a lot.

During this funding period, the devs completed six major milestones, covering things like formal specifications for packaging data formats to cryptographic verification of distribution artifacts.

If you didn't know what the ALPM project is about, it is an undertaking that takes advantage of Rust to provide a suite of libraries and tools designed to handle every aspect of Arch Linux package management.

However, this has left many (including myself) wondering if Pacman will be replaced with this one day, plus, there's talk of a difference in the licensing for the ALPM and Pacman projects.

While Pacman is licensed under the GNU General Public License, ALPM uses dual licensing with Apache 2.0 and MIT.

Just so you understand, GPL is a "copyleft" license that requires any derivative works to also be open source and GPL licensed, while MIT and Apache 2.0 are permissive licenses that allow the code to be used in proprietary software with fewer restrictions.

GPL ensures improvements remain open to everyone, while MIT makes it easier for projects to adopt the code without legal complications. As of writing, the developers haven't taken an official stance on whether this would replace Pacman.

Though, considering the compatibility with Pacman, we could see a backwards compatibility approach similar to how sudo-rs was implemented on Ubuntu.

In that case, Ubuntu started shipping sudo-rs as the default while keeping the original sudo available as a fallback, with users continuing to type sudo as before while the system runs the newer Rust version underneath. A similar transition could happen with Pacman and ALPM, I think.


Suggested Read πŸ“–: Getting Started With Pacman Commands

Using pacman Commands in Arch Linux [Beginner’s Guide]
Learn what you can do with pacman commands in Linux, how to use them to find new packages, install and upgrade new packages, and clean your system.
About the author
Sourav Rudra

Sourav Rudra

A nerd with a passion for open source software, custom PC builds, motorsports, and exploring the endless possibilities of this world.

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.