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:

  1. Visit the fpm GitHub repository by typing the following URL https://github.com/jordansissel/fpm in your browser, and then click on the "Clone or Download" button, and copy the URL provided in the input box.

  2. Open the terminal and run the following command to clone the repository:

    git clone https://github.com/jordansissel/fpm.git
    
  3. Once the cloning process is completed, change the directory to the fpm folder by using the following command:

    cd fpm
    
  4. Next, run the following command to install fpm:

    sudo gem install fpm
    
  5. After the installation process is finished, you can verify that fpm is installed by running the following command:

    fpm --version
    

    The 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.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!