How To Install dcfldd on Debian 10

Learn how to install dcfldd on Debian 10 with this tutorial. dcfldd is enhanced version of dd for forensics and security

Introduction

In this tutorial we learn how to install dcfldd on Debian 10.

What is dcfldd

dcfldd is:

dcfldd was initially developed at Department of Defense Computer Forensics Lab (DCFL). This tool is based on the dd program with the following additional features:

  • Hashing on-the-fly: dcfldd can hash the input data as it is being transferred, helping to ensure data integrity.
  • Status output: dcfldd can update the user of its progress in terms of the amount of data transferred and how much longer operation will take.
  • Flexible disk wipes: dcfldd can be used to wipe disks quickly and with a known pattern if desired.
  • Image/wipe verify: dcfldd can verify that a target drive is a bit-for-bit match of the specified input file or pattern.
  • Multiple outputs: dcfldd can output to multiple files or disks at the same time.
  • Split output: dcfldd can split output to multiple files with more configurability than the split command.
  • Piped output and logs: dcfldd can send all its log data and output to commands as well as files natively.

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

Install dcfldd Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install dcfldd

Install dcfldd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dcfldd

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

sudo aptitude -y install dcfldd

How To Uninstall dcfldd on Debian 10

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

sudo apt-get remove dcfldd

Uninstall dcfldd And Its Dependencies

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

sudo apt-get -y autoremove dcfldd

Remove dcfldd Configurations and Data

To remove dcfldd configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge dcfldd

Remove dcfldd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dcfldd

Dependencies

dcfldd have the following dependencies:

References

Summary

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