How To Install dc3dd on Ubuntu 20.04

In this tutorial we learn how to install dc3dd on Ubuntu 20.04. dc3dd is patched version of GNU dd with forensic features

Introduction

In this tutorial we learn how to install dc3dd on Ubuntu 20.04.

What is dc3dd

dc3dd is:

dc3dd is a patched version of GNU dd with added features for computer forensics:

  • on the fly hashing (md5, sha-1, sha-256, and sha-512);
  • possibility to write errors to a file;
  • group errors in the error log;
  • pattern wiping;
  • progress report;
  • possibility to split output.

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

Install dc3dd Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install dc3dd

Install dc3dd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dc3dd

Install dc3dd 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install dc3dd

How To Uninstall dc3dd on Ubuntu 20.04

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

sudo apt-get remove dc3dd

Uninstall dc3dd And Its Dependencies

To uninstall dc3dd and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove dc3dd

Remove dc3dd Configurations and Data

To remove dc3dd configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge dc3dd

Remove dc3dd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dc3dd

References

Summary

In this tutorial we learn how to install dc3dd package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.