How to Install fpm on Kali Linux
fpm is a package building tool that can be used to create various package formats such as deb, rpm, tar, and more. In this tutorial, we will guide you through the installation procedure of fpm on Kali Linux Latest.
Prerequisites
Make sure your Kali Linux is up-to-date and you have sudo privileges to run privileged commands.
Install the Required Packages
Before proceeding with the installation of fpm, you need to install the following packages:
sudo apt update
sudo apt install ruby ruby-dev gcc make
Install fpm from GitHub
You need to follow these steps to install fpm from GitHub:
Visit the fpm GitHub repository by typing the following URL
https://github.com/jordansissel/fpmin your browser, and then click on the "Clone or Download" button, and copy the URL provided in the input box.Open the terminal and run the following command to clone the repository:
git clone https://github.com/jordansissel/fpm.gitOnce the cloning process is completed, change the directory to the fpm folder by using the following command:
cd fpmNext, run the following command to install fpm:
sudo gem install fpmAfter the installation process is finished, you can verify that fpm is installed by running the following command:
fpm --versionThe output of the above command should display the version of fpm installed.
Conclusion
In this tutorial, we have explained the steps to install fpm on Kali Linux Latest. Additionally, you can use fpm to package any software or scripts that you intend to deploy on other machines or share with others.