question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Would you be interested in adding snap support on Linux?

See original GitHub issue

Feature description

NPM is a messy way for a user to install an app. Would you be interested in supporting a modern packaging format for your Linux users? Snaps, flatpaks and appimages would fit the bill. I’ve made a work-in-progress snap version at https://snapcraft.io/percollate which can be easily installed on any Linux distribution which supports snaps using snap install --edge percollate . I’d like to know whether it is worthwhile continuing to work on this, and whether you’d be interested in accepting the snap upstream when ready? There are issues with sandboxing clashing with snap confinement and at least one security issue to iron out as one of the generated binaries has an executable stack, but apart from this it already seems to run well.

Existing workarounds

It looks as if you’ve been working on docker support. For an end user, this is only marginally less messy than using npm. Supporting snaps or flatpaks would let users install your app from their favourite distribution’s software store.

Many thanks for building this useful application!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
mcphailcommented, Oct 3, 2020

I’d rather this didn’t turn into a debate about different package managers, which has been repeated a thousand times before. My experience has been with making and using snaps, and I’m happy to work on making one for this project. If there’s a flatpak which gets there first, I’d be happy to use that instead of a snap. I’m not knowledgeable enough about them to make one myself.

What I do know is that no solution is perfect, but any solution would be better than expecting a casual user to wrestle with npm. My proof of concept snap in the edge channel already “works”, barring the security issues mentioned above, and is straightforward to install for a huge number of Linux users. But all I want is to be able to use this application easily; if flatpak or appimage does the job first I’m happy to switch.

3reactions
pedrolucaspcommented, Oct 2, 2020

On Fri, Sep 25, 2020 at 04:56:27PM +0000, Neil McPhail wrote:

Alternatives would be flatpaks or appimages, but I’m much less familiar with those.

I strongly recommend that we should not support flatpaks.

About flatpaks: https://www.flatkill.org and https://www.flatkill.org/2020/

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Enable Snap Applications Support in Linux Mint
One of the biggest advantages of snap applications is that they update automatically. On Linux Mint 20, the snap support is disabled by...
Read more >
Installing snap on Red Hat Enterprise Linux (RHEL) - Snapcraft
Snap is now installed and ready to go! If you're using a desktop, a great next step is to install the Snap Store...
Read more >
A Beginners Guide to Snaps in Linux - Part 1 - Tecmint
Snaps are cross-distribution, dependency-free, and easy to install applications packaged with all their dependencies to run on all major Linux ...
Read more >
What's The Deal With Snap Packages? - Hackaday
If you want to distribute snaps, you have to set up an account with Canonical and host it there. While the underlying software...
Read more >
Create your first snap - Ubuntu
A snap is a bundle of an app and its dependencies that works without modification across many different Linux distributions. Snaps are discoverable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found