How To Install make on Kali Linux

In this tutorial we learn how to install make on Kali Linux. make is utility for directing compilation

Introduction

In this tutorial we learn how to install make on Kali Linux.

What is make

make is:

GNU Make is a utility which controls the generation of executables and other target files of a program from the program’s source files. It determines automatically which pieces of a large program need to be (re)created, and issues the commands to (re)create them. Make can be used to organize any task in which targets (files) are to be automatically updated based on input files whenever the corresponding input is newer — it is not limited to building computer programs. Indeed, Make is a general purpose dependency solver.

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

Install make Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install make

Install make Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install make

Install make Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install make

How To Uninstall make on Kali Linux

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

sudo apt-get remove make

Uninstall make And Its Dependencies

To uninstall make and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove make

Remove make Configurations and Data

To remove make configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge make

Remove make configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge make

Dependencies

make have the following dependencies:

References

Summary

In this tutorial we learn how to install make package on Kali Linux using different package management tools: apt, apt-get and aptitude.