How to Install FPM from https://github.com/jordansissel/fpm on Debian Latest
FPM is a tool that helps in creating packages and provides support for multiple formats. Here is a tutorial on how to install FPM on your Debian Latest system.
Prerequisites
Before proceeding with installing FPM, there are some packages that you should install.
Update and Upgrade System
Update and upgrade your system packages to ensure that you have the latest versions running.
sudo apt update && sudo apt upgrade
Install Required Packages
Install the packages required to run FPM.
sudo apt install ruby ruby-dev rubygems build-essential
Installing FPM
To install FPM from https://github.com/jordansissel/fpm, follow the steps below:
1. Clone the FPM Repository
Clone the FPM repository into your system.
git clone https://github.com/jordansissel/fpm.git
2. Build FPM
Move into the cloned FPM directory and build FPM using the command below.
cd fpm/
sudo gem build fpm.gemspec
3. Install FPM
After building FPM successfully, run the following command to install it on your system.
sudo gem install ./fpm-*.gem --no-ri --no-rdoc
Conclusion
You have successfully installed FPM on your Debian Latest system. You can now start using FPM to create packages for different formats.