input-output-hk / daedalus

The open source cryptocurrency wallet for ada, built to grow with the community
https://daedaluswallet.io/
Apache License 2.0
1.23k stars 297 forks source link

Discussion - State of Daedalus in Linux #1899

Open VanQuijote1 opened 4 years ago

VanQuijote1 commented 4 years ago

Dear colleagues,

Linux is diverse, with different distros and packages. This means that traditionally software usually is developed for one distribution of Linux (e.g. Ubuntu), not taking into consideration the whole system. This is the case of Daedalus so far. It works in Ubuntu, but it struggles with alternative distributions such as NixOS, Fedora Silverblue of QubeOS. This has created already several issues being open on this topic.

In order to solve the problem of shipping software easily to Linux, three alternatives have been developed for creating "universal linux apps":

Considering the three options, and considering what Daedalus is doing, Flatpaks look to me like the way to go. Indeed, it has already some crypto-wallet applications.The application would run in 99% of the distros out there and it would simplfy and streamline the discussion on this topic. Moreover, the installation would be one order in the command line, and it could be accesible through stores such as Flathub (https://flathub.org/home).

Thank you for your time, and looking forward to see your thoughs on this topic :).

urbandroid commented 4 years ago

I prefer Snaps but there is no reason that both of packaging formats to be supported.

ZeroPointEnergy commented 4 years ago

Traditionally open source software on Linux is packaged by the individual distribution maintainers and not by the developers themselves. This has several advantages both for the user and for the developers.

Is there any information available how to build deadalus against system libraries instead of nix? Is there anything that would prevent us from creating a regular system wide package for deadalus?

nikolaglumac commented 3 years ago

cc @disassembler

dchmelik commented 3 years ago

Be clear: daedalus isn't a GNU/Linux program; it's a systemd/GNU/Linux program. Please either make it for GNU/Linux in general (like Slackware and it's large family of derivatives, and Gentoo) or specify it's for systemd operating systems (OS) only (since that wasn't clear, I was unable to finish installing it so don't have any Cardano.) Snaps are horrible and never should be used outside cell phones, which they originally were designed for. Flatpaks are almost as bad as they require a separate installer not all OS have. AppImages don't, so are the most portable (and all major cryptocurrencies I've seen that don't have a general GNU/Linux binary use AppImage) but what's best is a general GNU/Linux compilation process and/or binary (and list all dependencies, not just ones on a GNU/Linux OS distribution for the popular masses) rather than a systemd/GNU/Linux installer.

nikolaglumac commented 3 years ago

cc @disassembler

mratmartinez commented 2 years ago

It's been more than one year. Does Daedalus still depends on systemd?

AppImage definitely would be a proper solution here. Specially since the Download page says:
"Linux - Aimed at all Linux distributions"