How To Install debsecan on Kali Linux

In this tutorial we learn how to install debsecan on Kali Linux. debsecan is Debian Security Analyzer

Introduction

In this tutorial we learn how to install debsecan on Kali Linux.

What is debsecan

debsecan is:

debsecan is a tool to generate a list of vulnerabilities which affect a particular Debian installation. debsecan runs on the host which is to be checked, and downloads vulnerability information over the Internet. It can send mail to interested parties when new vulnerabilities are discovered or when security updates become available.

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

Install debsecan Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install debsecan

Install debsecan Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install debsecan

Install debsecan Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install debsecan

How To Uninstall debsecan on Kali Linux

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

sudo apt-get remove debsecan

Uninstall debsecan And Its Dependencies

To uninstall debsecan and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove debsecan

Remove debsecan Configurations and Data

To remove debsecan configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge debsecan

Remove debsecan configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge debsecan

Dependencies

debsecan have the following dependencies:

References

Summary

In this tutorial we learn how to install debsecan package on Kali Linux using different package management tools: apt, apt-get and aptitude.