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

Provide a Linux version for download #830

Open
hardyoyo opened this issue Jun 22, 2018 · 11 comments
Open

Provide a Linux version for download #830

hardyoyo opened this issue Jun 22, 2018 · 11 comments
Labels
env:Linux This issue is related to running Data Curator on Linux Help wanted We'd love your help with this issue or pull request priority:High
Milestone

Comments

@hardyoyo
Copy link

hardyoyo commented Jun 22, 2018

Provide a Linux version for download

While building a Linux version is quite easily done if one has Node.js and Yarn installed, not every Linux desktop user is a developer.

Desired Behaviour (for feature requests only)

For each release of DataCurator, a Linux AppImage install should be created for 64bit and 32bit Linux desktops. It ought to be possible to automate the creation of all installers for each OS (you could probably even get Travis-CI to do it for you). However, automating this is not what I'm requesting, simply ensuring there is an installer for Linux users available on the Download page would be sufficient.

@Stephen-Gates Stephen-Gates added the env:Linux This issue is related to running Data Curator on Linux label Jun 22, 2018
@probonopd
Copy link

Providing an AppImage would have, among others, these advantages:

  • Applications packaged as an AppImage can run on many distributions (including Ubuntu, Fedora, openSUSE, CentOS, elementaryOS, Linux Mint, and others)
  • One app = one file = super simple for users: just download one AppImage file, make it executable, and run
  • No unpacking or installation necessary
  • No root needed
  • No system libraries changed
  • Works out of the box, no installation of runtimes needed
  • Optional desktop integration with appimaged
  • Optional binary delta updates, e.g., for continuous builds (only download the binary diff) using AppImageUpdate
  • Can optionally GPG2-sign your AppImages (inside the file)
  • Works on Live ISOs
  • Can use the same AppImages when dual-booting multiple distributions
  • Can be listed in the AppImageHub central directory of available AppImages
  • Can double as a self-extracting compressed archive with the --appimage-extract parameter

Here is an overview of projects that are already distributing upstream-provided, official AppImages.

If you have questions, AppImage developers are on #AppImage on irc.freenode.net.

@sizezero
Copy link

sizezero commented Oct 8, 2018

I was able to run the linux version with "yarn run dev" but wasn't able to build it with "yarn run build". Is this to be expected? Sorry, I'm not a yarn/node developer.

@chris48s
Copy link

chris48s commented Oct 8, 2018

I think if you run yarn run build on linux, it will try and build multiple packaging formats. I tried cloning master and yarn run build was failing for me trying to build the snap format, but I was able to sucessfully build an AppImage by running:

node .electron-vue/build.js && yarn run electron-builder --linux AppImage

There is a list of target formats supported by electron-builder at: https://www.electron.build/configuration/linux#LinuxConfiguration-target so if you're having trouble building a particular format, maybe try a few different ones. In principle it should be possible to build on linux, but some of the formats might have some system dependencies depending on your distro etc.

@sizezero
Copy link

sizezero commented Oct 8, 2018

Thanks! The command you gave allowed me to build a runnable linux image.

@robbiemorrison
Copy link

Would publicize this software within my circles when offered as DEB and RPM packages but not before.

@chris48s
Copy link

chris48s commented Mar 3, 2019

Is there anything we could do to make it easier for you to provide/support a linux build?

@robbiemorrison
Copy link

@chris48s Thanks for responding. I am not in a position to contribute directly, I'm afraid. Sorry. I noticed there was also recent traffic on this point on the OKI forum. R.

@chris48s
Copy link

chris48s commented Mar 3, 2019

Sorry - that was a question for @Stephen-Gates / @mattRedBox really :)

Clearly there is some subset of users who would like to see this made available. If we understand what the barriers are, maybe its something one of us can help with...

@robbiemorrison
Copy link

@chris48s Noted. I am from the open energy modeling community. A comfortable CSV editor with support for OKI tabular data packages would a big asset for us. Many, if not most, run Linux.

@Stephen-Gates Stephen-Gates added the Help wanted We'd love your help with this issue or pull request label Mar 3, 2019
@Stephen-Gates
Copy link
Contributor

Hi @robbiemorrison, I'll discuss this with our sponsors but it is not currently in scope. @chris48s I'll leave it to @mattRedBox to answer re: barriers. I note that the request only requires provision of images and not inclusion in the automated build process. Stay tuned...

@ghost
Copy link

ghost commented Mar 3, 2019

Hi @robbiemorrison, @chris48s
I had previously included Linux in the testing that exists and the package.json for builds, so that with approval from our sponsors, this can at least flag if any issues arise with PRs. However, as @Stephen-Gates mentioned, this project and the changes are at the behest of our sponsors, so I cannot say what can be done further until prior approval is granted.

@Stephen-Gates Stephen-Gates mentioned this issue May 31, 2019
@Stephen-Gates Stephen-Gates added this to the Backlog milestone May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
env:Linux This issue is related to running Data Curator on Linux Help wanted We'd love your help with this issue or pull request priority:High
Projects
None yet
Development

No branches or pull requests

6 participants