How To Install makefile2graph on Debian 11

In this tutorial we learn how to install makefile2graph on Debian 11. makefile2graph is creates a graph of dependencies from GNU-Make

Introduction

In this tutorial we learn how to install makefile2graph on Debian 11.

What is makefile2graph

makefile2graph is:

Output is a graphviz-dot file, a Gexf-XML file or a list of the deepest independent targets that should be made. Sub-makefiles are not supported.

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

Install makefile2graph Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install makefile2graph

Install makefile2graph Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install makefile2graph

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

sudo aptitude -y install makefile2graph

How To Uninstall makefile2graph on Debian 11

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

sudo apt-get remove makefile2graph

Uninstall makefile2graph And Its Dependencies

To uninstall makefile2graph and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove makefile2graph

Remove makefile2graph Configurations and Data

To remove makefile2graph configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge makefile2graph

Remove makefile2graph configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge makefile2graph

Dependencies

makefile2graph have the following dependencies:

References

Summary

In this tutorial we learn how to install makefile2graph package on Debian 11 using different package management tools: apt, apt-get and aptitude.