| description | 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.
You can only build the deb target on Linux or macOS machines with the fakeroot and dpkg packages installed.
npm install --save-dev @electron-forge/maker-debTo use @electron-forge/maker-deb, add it to the makers array in your Forge configuration:
{% code title="forge.config.js" %}
module.exports = {
makers: [
{
name: '@electron-forge/maker-deb',
config: {
options: {
maintainer: 'Joe Bloggs',
homepage: 'https://example.com'
}
}
}
]
};{% endcode %}
Configuration options are documented in MakerDebConfig.
For advanced debug logging for this maker, add the DEBUG=electron-installer-deb* environment variable.