How To Install fastdep on Debian 9
Introduction
In this tutorial we learn how to install fastdep on Debian 9.
What is fastdep
fastdep is:
Efficiently generates dependency information for C and C++ files, suitable for inclusion in makefiles, and optionally generates dependency information for its own output. This can be used to create robust, fast and largely automated build rules.
There are three methods to install fastdep on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install fastdep Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install fastdep using apt-get by running the following command:
sudo apt-get -y install fastdep
Install fastdep Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install fastdep using apt by running the following command:
sudo apt -y install fastdep
Install fastdep 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 fastdep using aptitude by running the following command:
sudo aptitude -y install fastdep
How To Uninstall fastdep on Debian 9
To uninstall only the fastdep package we can use the following command:
sudo apt-get remove fastdep
Uninstall fastdep And Its Dependencies
To uninstall fastdep and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove fastdep
Remove fastdep Configurations and Data
To remove fastdep configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge fastdep
Remove fastdep configuration, data, and all of its dependencies
We can use the following command to remove fastdep configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fastdep
Dependencies
fastdep have the following dependencies:
References
Summary
In this tutorial we learn how to install fastdep package on Debian 9 using different package management tools: apt, apt-get and aptitude.