How To Install cmake-data on AlmaLinux 8

In this tutorial we learn how to install cmake-data in AlmaLinux 8. cmake-data is Common data-files for cmake

Introduction

In this tutorial we learn how to install cmake-data on AlmaLinux 8.

What is cmake-data

This package contains common data-files for cmake.

We can use yum or dnf to install cmake-data on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install cmake-data.

Install cmake-data on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install cmake-data

Install cmake-data on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install cmake-data using yum by running the following command:

sudo yum -y install cmake-data

How To Uninstall cmake-data on AlmaLinux 8

To uninstall only the cmake-data package we can use the following command:

sudo dnf remove cmake-data

References

Summary

In this tutorial we learn how to install cmake-data on AlmaLinux 8 using yum and dnf.