How To Install mtools on Kali Linux
Introduction
In this tutorial we learn how to install mtools on Kali Linux.
What is mtools
mtools is:
Mtools is a collection of utilities to access MS-DOS disks from Unix without mounting them. It supports Win'95 style long file names, OS/2 Xdf disks, ZIP/JAZ disks and 2m disks (store up to 1992kB on a high density 3 1/2 disk).
Also included in this package are commands to eject and manipulate the write/password protection control of Zip disks.
There are three methods to install mtools 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 mtools Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install mtools using apt-get by running the following command:
sudo apt-get -y install mtoolsInstall mtools Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install mtools using apt by running the following command:
sudo apt -y install mtoolsInstall mtools 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 mtools using aptitude by running the following command:
sudo aptitude -y install mtoolsHow To Uninstall mtools on Kali Linux
To uninstall only the mtools package we can use the following command:
sudo apt-get remove mtoolsUninstall mtools And Its Dependencies
To uninstall mtools and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove mtoolsRemove mtools Configurations and Data
To remove mtools configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge mtoolsRemove mtools configuration, data, and all of its dependencies
We can use the following command to remove mtools configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mtoolsDependencies
mtools have the following dependencies:
References
Summary
In this tutorial we learn how to install mtools package on Kali Linux using different package management tools: apt, apt-get and aptitude.