How To Install ext4magic on Kali Linux
Introduction
In this tutorial we learn how to install ext4magic on Kali Linux.
What is ext4magic
ext4magic is:
ext4magic is a file carver (or file carving). It can be used when recovering from disasters or in digital forensics activities.
The deletion of files in ext3/4 filesystems can not be easily reversed. Zero out of the block references in the inodes makes that impossible. Experiences with other programs have proved that is possible restore sufficient information for a recover of many data files, directly from the filesystem journal.
ext4magic can extract the information from the journal and restore files in an entire directory tree, if the information in the journal are sufficient.
This tool can recover the most file types, with original filename, owner and group, file mode bits and also the old atime/mtime stamps.
There are three methods to install ext4magic 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 ext4magic Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ext4magic using apt-get by running the following command:
sudo apt-get -y install ext4magicInstall ext4magic Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ext4magic using apt by running the following command:
sudo apt -y install ext4magicInstall ext4magic 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 updateAfter updating apt database, We can install ext4magic using aptitude by running the following command:
sudo aptitude -y install ext4magicHow To Uninstall ext4magic on Kali Linux
To uninstall only the ext4magic package we can use the following command:
sudo apt-get remove ext4magicUninstall ext4magic And Its Dependencies
To uninstall ext4magic and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ext4magicRemove ext4magic Configurations and Data
To remove ext4magic configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ext4magicRemove ext4magic configuration, data, and all of its dependencies
We can use the following command to remove ext4magic configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ext4magicDependencies
ext4magic have the following dependencies:
References
Summary
In this tutorial we learn how to install ext4magic package on Kali Linux using different package management tools: apt, apt-get and aptitude.