Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the linux installation experience better #4511

Open
pierremtb opened this issue Nov 19, 2024 · 3 comments · May be fixed by #4592
Open

Make the linux installation experience better #4511

pierremtb opened this issue Nov 19, 2024 · 3 comments · May be fixed by #4592
Assignees

Comments

@pierremtb
Copy link
Collaborator

We're missing any sort of Linux installation instructions, the overall experience isn't polished yet on that platform. On fresh Ubuntu installs I had to install these packages to run the appimage:

sudo apt install zlib1g-dev libfuse2 libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libgtk-3-0 libgbm-dev libasound2 xdg-utils
@pierremtb pierremtb self-assigned this Nov 19, 2024
@pierremtb
Copy link
Collaborator Author

Just found out that there is actually support for .deb autoupdates through https://www.electron.build/electron-updater.class.debupdater, which isn't well documented on their main page (thought it was AppImage only). This could help install the few dependencies that are needed to run and make the overall linux experience better

Think .deb should be the first option to download on linux, with .AppImage the fallback for non debian based folks.

@TomPridham
Copy link
Contributor

I was able to run the AppImage once I installed libfuse2, which did require adding the Universe repository. But I didn't need to install any of those other packages on a fresh Ubuntu 22 install. Not sure why you needed them and I didn't.
I updated the electron-builder.yml file to also output .deb files: #4554. I had a previous commit that added a deb.depends array that had those packages in there, but I removed it because it wasn't necessary for me to install the .deb file. I'd be happy to document installing libfuse2 if there is a place to do that. I didn't see anything that felt like a good place in the readme

@TomPridham
Copy link
Contributor

The .deb file doesn't actually load in Ubuntu 24 for me, however. It seems it's getting killed by AppArmor. related: electron/electron#41066

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants