How To Install xfsdump on Kali Linux

In this tutorial we learn how to install xfsdump on Kali Linux. xfsdump is Administrative utilities for the XFS filesystem

Introduction

In this tutorial we learn how to install xfsdump on Kali Linux.

What is xfsdump

xfsdump is:

The xfsdump package contains xfsdump, xfsrestore and a number of other administrative utilities for managing XFS filesystems.

xfsdump examines files in a filesystem, determines which need to be backed up, and copies those files to a specified disk, tape or other storage medium. It uses XFS-specific directives for optimizing the dump of an XFS filesystem, and also knows how to backup XFS extended attributes. Backups created with xfsdump are “endian safe” and can thus be transfered between Linux machines of different architectures and also between IRIX machines.

xfsrestore performs the inverse function of xfsdump; it can restore a full backup of a filesystem. Subsequent incremental backups can then be layered on top of the full backup. Single files and directory subtrees may be restored from full or partial backups.

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

Install xfsdump Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install xfsdump

Install xfsdump Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xfsdump

Install xfsdump Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install xfsdump

How To Uninstall xfsdump on Kali Linux

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

sudo apt-get remove xfsdump

Uninstall xfsdump And Its Dependencies

To uninstall xfsdump and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove xfsdump

Remove xfsdump Configurations and Data

To remove xfsdump configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge xfsdump

Remove xfsdump configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xfsdump

Dependencies

xfsdump have the following dependencies:

References

Summary

In this tutorial we learn how to install xfsdump package on Kali Linux using different package management tools: apt, apt-get and aptitude.