How To Install meson on CentOS 7

In this tutorial we learn how to install meson on CentOS 7. meson is High productivity build system

Introduction

In this tutorial we learn how to install meson on CentOS 7.

What is meson

Meson is a build system designed to optimize programmer productivity. It aims to do this by providing simple, out-of-the-box support for modern software development tools and practices, such as unit tests, coverage reports, Valgrind, CCache and the like.

We can use yum or dnf to install meson on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install meson.

Install meson on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install meson using yum by running the following command:

sudo yum -y install meson

Install meson on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install meson using dnf by running the following command:

sudo dnf -y install meson

How To Uninstall meson on CentOS 7

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

sudo dnf remove meson

References

Summary

In this tutorial we learn how to install meson on CentOS 7 using yum and dnf.