How To Install make on CentOS 7

In this tutorial we learn how to install make on CentOS 7. make is A GNU tool which simplifies the build process for users

Introduction

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

What is make

A GNU tool for controlling the generation of executables and other non-source files of a program from the program’s source files. Make allows users to build and install packages without any significant knowledge about the details of the build process. The details about how the program should be built are provided for make in the program’s makefile.

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

Install make on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install make

Install make 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 make using dnf by running the following command:

sudo dnf -y install make

How To Uninstall make on CentOS 7

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

sudo dnf remove make

References

Summary

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