How to Install fpm on Void Linux

fpm is a software package builder which helps in creating packages in different formats, such as RPM, Deb, or tar. This article will guide you through the installation of fpm on Void Linux.

Prerequisites

Before starting with the installation of fpm, ensure that you have a working instance of Void Linux with root or sudo privileges.

Installing fpm

Follow the below steps to install fpm on Void Linux:

  1. Get the required dependencies:

    sudo xbps-install gcc ruby ruby-dev rpm-libs rpm-devel
    
  2. Install Ruby gems:

    sudo gem install --no-document fpm
    

The --no-document option installs the gems without any documentation. This reduces the installation time.

Verifying installation

After the installation, verify if fpm is installed correctly by running the following command:

fpm --version

This should display the current version of fpm installed on your system.

Conclusion

In this article, you learned how to install fpm on Void Linux. Now you can use this package builder to create packages in various formats.

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!