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

Feature request: Precompiled binary #51

Closed
mholt opened this issue Sep 27, 2017 · 4 comments
Closed

Feature request: Precompiled binary #51

mholt opened this issue Sep 27, 2017 · 4 comments

Comments

@mholt
Copy link

mholt commented Sep 27, 2017

I might be interested in using this in our research lab. But our systems are pretty delicately configured; to avoid risking any problems (among other reasons), I am not inclined to install Node/npm. But I would happily run a binary. Would you consider packaging up some Linux binaries for each release? Or is there a typical way of compiling JS apps to binary form for distribution?

@aksakalli
Copy link
Owner

hi @mholt ,

maybe we can use something like pkg to create binary builds.

Also there already exists a snap package for gtop:

sudo snap install --edge gtop 

@mholt
Copy link
Author

mholt commented Sep 27, 2017

Sounds good to me, thanks! Does the snap install npm and stuff locally or does it just plop the binary in the PATH?

@aksakalli
Copy link
Owner

Snap packages or their dependencies do not affect your system:

from https://snapcraft.io/docs/snaps/intro

What is a snap?

A snap :

  • is a squashFS filesystem containing your app code and a snap.yaml file containing specific metadata. It has a read-only file-system and, once installed, a writable area.
  • is self-contained. It bundles most of the libraries and runtimes it needs and can be updated and reverted without affecting the rest of the system.
  • is confined from the OS and other apps through security mechanisms, but can exchange content and functions with other snaps according to fine-grained policies controlled by the user and the OS defaults.

@mholt
Copy link
Author

mholt commented Sep 27, 2017

Ah, thanks!

@mholt mholt closed this as completed Sep 27, 2017
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

No branches or pull requests

2 participants