How To Install wipe on Ubuntu 18.04

In this tutorial we learn how to install wipe on Ubuntu 18.04. wipe is secure file deletion

Introduction

In this tutorial we learn how to install wipe on Ubuntu 18.04.

What is wipe

wipe is:

Recovery of supposedly erased data from magnetic media is easier than what many people would like to believe. A technique called Magnetic Force Microscopy (MFM) allows any moderately funded opponent to recover the last two or three layers of data written to disk. Wipe repeatedly writes special patterns to the files to be destroyed, using the fsync() call and/or the O_SYNC bit to force disk access.

Wipe can permanently delete data in hard disks and flash drives (caution! several writes can damage solid medias).

This program is useful in anti-forensics and security activities.

There are three methods to install wipe on Ubuntu 18.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 wipe Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install wipe

Install wipe Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install wipe

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

sudo aptitude -y install wipe

How To Uninstall wipe on Ubuntu 18.04

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

sudo apt-get remove wipe

Uninstall wipe And Its Dependencies

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

sudo apt-get -y autoremove wipe

Remove wipe Configurations and Data

To remove wipe configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge wipe

Remove wipe configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge wipe

References

Summary

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