How To Install xmount on Ubuntu 18.04

In this tutorial we learn how to install xmount on Ubuntu 18.04. xmount is tool to crossmount between multiple input and output harddisk images

Introduction

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

What is xmount

xmount is:

xmount allows you to convert on-the-fly between multiple input and output harddisk image types. xmount creates a virtual file system using FUSE (Filesystem in Userspace) that contains a virtual representation of the input harddisk image. The virtual representation can be in raw DD, VirtualBox’s virtual disk file (VDI) format, Microsoft’s Virtual Hard Disk Image format (VHD) or in VMware’s VMDK format. Input harddisk images can be raw DD or EWF (Expert Witness Compression Format) or AFF (Advanced Forensic Format) files. In addition, xmount also supports virtual write access to the output files that is redirected to a cache file. This makes it for example possible to boot acquired harddisk images using QEMU, KVM, VirtualBox, VMware or alike.

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

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

sudo apt-get update

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

sudo apt-get -y install xmount

Install xmount Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xmount

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

sudo aptitude -y install xmount

How To Uninstall xmount on Ubuntu 18.04

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

sudo apt-get remove xmount

Uninstall xmount And Its Dependencies

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

sudo apt-get -y autoremove xmount

Remove xmount Configurations and Data

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

sudo apt-get -y purge xmount

Remove xmount configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xmount

References

Summary

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