deb
Create a package for Debian-based Linux distributions for your Electron app, using Electron Forge.
The deb target builds .deb packages, which are the standard package format for Debian-based Linux distributions such as Ubuntu.
Requirements
You can only build the deb target on Linux or macOS machines with the fakeroot and dpkg packages installed.
Installation
npm install --save-dev @electron-forge/maker-debUsage
To use @electron-forge/maker-deb, add it to the makers array in your Forge configuration:
module.exports = {
makers: [
{
name: '@electron-forge/maker-deb',
config: {
options: {
maintainer: 'Joe Bloggs',
homepage: 'https://example.com'
}
}
}
]
};Configuration options are documented in MakerDebConfig.
Debugging
For advanced debug logging for this maker, add the DEBUG=electron-installer-deb* environment variable.
Last updated
Was this helpful?