How To Install make on Debian 10
Introduction
In this tutorial we learn how to install make
on Debian 10.
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 Debian 10. 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 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 make
using aptitude
by running the following command:
sudo aptitude -y install make
How To Uninstall make on Debian 10
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 Debian 10, we can use the command below:
sudo apt-get -y autoremove make
Remove make Configurations and Data
To remove make
configuration and data from Debian 10 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 Debian 10 using different package management tools: apt
, apt-get
and aptitude
.