FPM (Effing Package Management) is a command-line tool for creating packages in multiple formats (RPM, DEB, etc.) from various source formats (gem, tar, etc.) for multiple platforms using simple metadata. In this tutorial, we will show you how to install FPM on OpenSUSE.
To complete this tutorial, you will need:
Install prerequisites:
Before installing FPM, make sure your system is up to date by running:
sudo zypper update
Install the following packages required for installation of FPM:
sudo zypper install build-essential ruby ruby-devel rubygems rpm-build zlib-devel
Install FPM:
You can install FPM either via gem
(Ruby's packaging manager) or via rpm
package. Here, we will show you both methods.
a. Via gem:
To install FPM via gem
, run:
sudo gem install fpm
This will install FPM and its dependencies.
b. Via rpm package:
To install FPM via rpm
package, download the appropriate version of FPM for your system from the FPM releases page. For example:
wget https://github.com/jordansissel/fpm/releases/download/v1.13.1/fpm-1.13.1-0.1.x86_64.rpm
Install the rpm
package with zypper
package manager by running:
sudo zypper install fpm-1.13.1-0.1.x86_64.rpm
This will install FPM and its dependencies as an rpm
package.
You now have FPM installed on OpenSUSE. You can create packages in multiple formats and for multiple platforms using simple metadata. For more information about FPM and its usage, please refer to the official documentation.
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!