How To Install dislocker on Ubuntu 20.04

In this tutorial we learn how to install dislocker on Ubuntu 20.04. dislocker is read/write encrypted BitLocker volumes

Introduction

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

What is dislocker

dislocker is:

Dislocker has been designed to read BitLocker encrypted partitions under a Linux system. The driver used to read volumes encrypted in Windows system versions of the Vista to 10 and BitLocker-To-Go encrypted partitions,that’s USB/FAT32 partitions.

The software works with driver composed of a library, with multiple binaries using this library. Decrypting the partition, you have to give it a mount point where, once keys are decrypted, a file named dislocker-file appears. This file is a virtual NTFS partition, so you can mount it as any NTFS partition and then read from or write to it. Writing to the NTFS virtual file will change the underlying BitLocker partition content.

This tool is useful in cryptography managing and forensics investigations.

There are three methods to install dislocker 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 dislocker Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install dislocker

Install dislocker Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dislocker

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

sudo aptitude -y install dislocker

How To Uninstall dislocker on Ubuntu 20.04

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

sudo apt-get remove dislocker

Uninstall dislocker And Its Dependencies

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

sudo apt-get -y autoremove dislocker

Remove dislocker Configurations and Data

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

sudo apt-get -y purge dislocker

Remove dislocker configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dislocker

References

Summary

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