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:
Get the required dependencies:
sudo xbps-install gcc ruby ruby-dev rpm-libs rpm-develInstall 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.