How To Install firmware-mod-kit on Kali Linux
Introduction
In this tutorial we learn how to install firmware-mod-kit on Kali Linux.
What is firmware-mod-kit
firmware-mod-kit is:
The Firmware Mod Kit allows for easy deconstruction and reconstruction of firmware images for various embedded devices. While it primarily targets Linux based routers, it should be compatible with most firmware that makes use of common firmware formats and file systems such as TRX/uImage and SquashFS/CramFS.
There are three methods to install firmware-mod-kit 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 firmware-mod-kit Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install firmware-mod-kit using apt-get by running the following command:
sudo apt-get -y install firmware-mod-kitInstall firmware-mod-kit Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install firmware-mod-kit using apt by running the following command:
sudo apt -y install firmware-mod-kitInstall firmware-mod-kit 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 firmware-mod-kit using aptitude by running the following command:
sudo aptitude -y install firmware-mod-kitHow To Uninstall firmware-mod-kit on Kali Linux
To uninstall only the firmware-mod-kit package we can use the following command:
sudo apt-get remove firmware-mod-kitUninstall firmware-mod-kit And Its Dependencies
To uninstall firmware-mod-kit and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove firmware-mod-kitRemove firmware-mod-kit Configurations and Data
To remove firmware-mod-kit configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge firmware-mod-kitRemove firmware-mod-kit configuration, data, and all of its dependencies
We can use the following command to remove firmware-mod-kit configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge firmware-mod-kitDependencies
firmware-mod-kit have the following dependencies:
References
Summary
In this tutorial we learn how to install firmware-mod-kit package on Kali Linux using different package management tools: apt, apt-get and aptitude.