How To Install muon-meson on Debian 12

Learn how to install muon-meson on Debian 12 with this tutorial. muon-meson is Meson implementation in C

Introduction

In this tutorial we learn how to install muon-meson on Debian 12.

What is muon-meson

muon-meson is:

muon is an implementation of the Meson build system in c99 with minimal dependencies.

It features a static analyzer for meson.build files, a code formatter, an interactive stepping debugger, and is very fast.

It doesn’t aim at being bug-for-bug compatible with Meson and offers a different set of CLI flags, but it is close to feature-complete with the core of Meson for C and C++.

In this package, the muon binary has been renamed to muon-meson to avoid conflicts with a pre-existing muon package.

There are three methods to install muon-meson on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install muon-meson Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install muon-meson using apt-get by running the following command:

sudo apt-get -y install muon-meson

Install muon-meson Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install muon-meson using apt by running the following command:

sudo apt -y install muon-meson

Install muon-meson Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install muon-meson using aptitude by running the following command:

sudo aptitude -y install muon-meson

How To Uninstall muon-meson on Debian 12

To uninstall only the muon-meson package we can use the following command:

sudo apt-get remove muon-meson

Uninstall muon-meson And Its Dependencies

To uninstall muon-meson and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove muon-meson

Remove muon-meson Configurations and Data

To remove muon-meson configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge muon-meson

Remove muon-meson configuration, data, and all of its dependencies

We can use the following command to remove muon-meson configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge muon-meson

Dependencies

muon-meson have the following dependencies:

References

Summary

In this tutorial we learn how to install muon-meson package on Debian 12 using different package management tools: apt, apt-get and aptitude.