How To Install check-dfsg-status on Debian 12
Introduction
In this tutorial we learn how to install check-dfsg-status on Debian 12.
What is check-dfsg-status
check-dfsg-status is:
This program will analyze the set of currently-installed packages on a Debian-based system, and report all of the packages from the non-free and contrib trees which are currently installed.
Note that check-dfsg-status is not limited to Debian systems only (which means that it also works with Debian-derived distributions such as Ubuntu). It is also not limited to Linux-based systems.
This program was originally called vrms but as the opinions of Richard M. Stallman and the Debian project have diverged since the program was written it has been renamed to check-dfsg-status. This is also a more accurate name as the program always followed the Debian Free Software Guidelines.
There are three methods to install check-dfsg-status on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install check-dfsg-status Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install check-dfsg-status using apt-get by running the following command:
sudo apt-get -y install check-dfsg-status
Install check-dfsg-status Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install check-dfsg-status using apt by running the following command:
sudo apt -y install check-dfsg-status
Install check-dfsg-status 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 check-dfsg-status using aptitude by running the following command:
sudo aptitude -y install check-dfsg-status
How To Uninstall check-dfsg-status on Debian 12
To uninstall only the check-dfsg-status package we can use the following command:
sudo apt-get remove check-dfsg-status
Uninstall check-dfsg-status And Its Dependencies
To uninstall check-dfsg-status and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove check-dfsg-status
Remove check-dfsg-status Configurations and Data
To remove check-dfsg-status configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge check-dfsg-status
Remove check-dfsg-status configuration, data, and all of its dependencies
We can use the following command to remove check-dfsg-status configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge check-dfsg-status
Dependencies
check-dfsg-status have the following dependencies:
References
Summary
In this tutorial we learn how to install check-dfsg-status package on Debian 12 using different package management tools: apt, apt-get and aptitude.