How To Install libdislocker0-dev on Ubuntu 18.04

In this tutorial we learn how to install libdislocker0-dev on Ubuntu 18.04. libdislocker0-dev is read/write encrypted BitLocker volumes (development files)

Introduction

In this tutorial we learn how to install libdislocker0-dev on Ubuntu 18.04.

What is libdislocker0-dev

libdislocker0-dev 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 package provides the development files.

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

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

sudo apt-get update

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

sudo apt-get -y install libdislocker0-dev

Install libdislocker0-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdislocker0-dev

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

sudo aptitude -y install libdislocker0-dev

How To Uninstall libdislocker0-dev on Ubuntu 18.04

To uninstall only the libdislocker0-dev package we can use the following command:

sudo apt-get remove libdislocker0-dev

Uninstall libdislocker0-dev And Its Dependencies

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

sudo apt-get -y autoremove libdislocker0-dev

Remove libdislocker0-dev Configurations and Data

To remove libdislocker0-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libdislocker0-dev

Remove libdislocker0-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdislocker0-dev

References

Summary

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