graph-includes command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
graph-includes: command not found
or when using sudo you get the following error message
sudo: graph-includes: command not found
Solutions to graph-includes: command not found
How To Fix graph-includes: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu graph-includes is provided by deps-tools-cli package.
deps-tools-cli is:
Currently only contains the limited “graph-includes” tool.
Graph-includes creates a graph of dependencies between source-files and/or groups of source-files, with an emphasis on getting readable and usable graphs even for large projects.
Usability of the dependency graphs are currently improved by:
- customizable grouping of several source files into a single node
- transitive reduction of the graph
It currently supports graphing the C/C++ #include relationship, using graphviz by default.
To fix this problem, we can install more using the command below.
sudo apt-get -y install deps-tools-cli
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install deps-tools-cli.
sudo apt -y install deps-tools-cli
Or if you have aptitude installed you can use the following command.
sudo aptitude install deps-tools-cli
Summary
In this tutorial we learn how to fix graph-includes command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.