{"id":15175371,"url":"https://github.com/0xdaksh/electron-linux-installer","last_synced_at":"2025-09-11T21:42:34.397Z","repository":{"id":57221732,"uuid":"96427569","full_name":"0xDaksh/electron-linux-installer","owner":"0xDaksh","description":"An Easy to use CLI For Building Linux Installers (Debian / Redhat) Effortlessly.","archived":false,"fork":false,"pushed_at":"2017-07-06T22:40:27.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T18:14:16.027Z","etag":null,"topics":["cli","electron","electron-installer","installer","js","linux","node","packager"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/electron-linux-installer","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xDaksh.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-06T12:25:16.000Z","updated_at":"2017-07-06T16:31:54.000Z","dependencies_parsed_at":"2022-08-29T01:51:06.144Z","dependency_job_id":null,"html_url":"https://github.com/0xDaksh/electron-linux-installer","commit_stats":null,"previous_names":["dakshmiglani/electron-linux-installer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xDaksh%2Felectron-linux-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xDaksh%2Felectron-linux-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xDaksh%2Felectron-linux-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xDaksh%2Felectron-linux-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xDaksh","download_url":"https://codeload.github.com/0xDaksh/electron-linux-installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240063929,"owners_count":19742227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","electron","electron-installer","installer","js","linux","node","packager"],"created_at":"2024-09-27T12:23:27.829Z","updated_at":"2025-02-21T18:14:21.049Z","avatar_url":"https://github.com/0xDaksh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Electron Installer for Linux (Debian / Redhat)](logo.png)\n\n\u003e Create a Linux (Debian / Redhat Package) for your Electron app using Easy CLI!\n\n## Requirements\n\nFor Redhat Builds, you require `rpmbuild` to build the `.rpm` package. On Fedora you can do something like this:\n\n```\n$ sudo dnf install rpm-build\n```\n\nWhile on Ubuntu you'll need to do this instead:\n\n```\n$ sudo apt-get install rpm\n```\n\nFor Debian builds, you require `fakeroot` and `dpkg` to build the `.deb` package.\n\nOn Mac You can do it Via:\n\n```\n$ brew install fakeroot dpkg\n```\n\nOn Fedora You can do it Via:\n```\n$ sudo dnf install dpkg fakeroot\n```\n\n## Installation\n\nCLI can be Installed Via:\n```\n$ npm install --global electron-linux-installer\n```\n\n## Usage\n\nFirst, you need to build the Package using Electron Packager:\n\n```\n$ electron-packager . app --platform linux --arch x64 --out dist/\n```\n\nNow you'd have to Use the CLI:\n\n```\n   $ electron-build-linux\n    | |   (_)_ __  _   ___  __    | __ ) _   _(_) | __| | ___ _ __ \n    | |   | | '_ \\| | | \\ \\/ /____|  _ \\| | | | | |/ _` |/ _ \\ '__|\n    | |___| | | | | |_| |\u003e  \u003c_____| |_) | |_| | | | (_| |  __/ |   \n    |_____|_|_| |_|\\__,_/_/\\_\\    |____/ \\__,_|_|_|\\__,_|\\___|_|   \n                                                                    \n    ? Do you want to Make the Installer for Both Debian and Redhat yes\n    ? Enter the Path of Source Code dist/app-linux-x64/\n    ? Enter the Path of the Destination for your Installer dist/installers/\n    ? Enter the Name of the Architecture you are building for x86_64\n\n    Starting to Build for Debian\n\n    // Processing\n\n    Starting to Build for Redhat\n\n    // Processing\n\n    Build for Both Complete, you can find the Installer at dist/installers/\n```\n### Programmatically\nFirst We Install the Module:\n\n```\n    npm install electron-linux-installer -S\n```\n\nUsage:\n\n```javascript\n    var install = require('electron-linux-installer')\n    install({\n        src: 'dist/app-linux-x64/', // source location\n        dest: 'dist/installers/', // destination of the installer\n        arch: 'x86_64', // x86_x64 would work both debian and rpm cause controllers are here.\n        for: 'both' // can be debian or redhat\n    }).then(success =\u003e {\n        console.log(success)\n    }).catch(e =\u003e {\n        throw e\n    })\n```\n\n## License\n\nLicensed by MIT 2017 to [Daksh Miglani](https://dak.sh), Please Give Credit to the author when used :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdaksh%2Felectron-linux-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xdaksh%2Felectron-linux-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdaksh%2Felectron-linux-installer/lists"}