Create an RPM package for RedHat-based Linux distributions for your Electron app, using Electron Forge.
The RPM target builds
.rpmfiles, which is the standard package format for Red Hat-based Linux distributions such as Fedora and Red Hat Enterprise Linux (RHEL).
You can only build the RPM target on Linux machines with the
On Fedora you can do something like this:
sudo dnf install rpm-build
While on Debian or Ubuntu you'll need to do this:
sudo apt-get install rpm