-
Notifications
You must be signed in to change notification settings - Fork 444
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
Appimage/Flatpak releases #2911
Comments
Thanks for posting this. Appimage is definitely something we would like to add 👍 |
Yes, Appimage is a best choice ! |
@grossmj
Since according to Canonical, PPA is the worst thing they created because they bundle all unnecessary dependencies which is what Flatpak is doing right now. (This doesn't mean I am saying, "Don't make flatpak packages. I don't like flatpak, etc.".) |
@PranavBhattarai thanks, I am going to check it out soon since we have issues building a classic Debian package for Ubuntu 20.04 LTS: GNS3/gns3-server#1746 |
hello, |
With the release of Debian 11 this issue has become very relevant. Installation instructions for Debian 10 are lengthy and complicated compared to a Flatpak and AppImage, and since there's the aforementioned building issue on Ubuntu this might be the chance to finally switch to a universal package manager. |
Thanks for your input. I tried Snap and found it overly complicated, I prefer the simplicity of AppImage. Do you have a preference between Flatpak and AppImage? |
Je préfère de très loin Appimage. Avec Flatpak il faut installer les outils et charger des "runtime" qui sont d'une lourdeur incroyable (une pensée à ceux qui ont l'ADSL...). On se retrouve avec un disque (souvent SSD où les Go coûtent cher) remplis de dépendances inutiles pour juste utiliser une application (j'ai déjà eu un traitement de texte à plus d'un giga octet avec Flatpak). De plus, si on utilise une distribution qui ne fournis pas Flatpak, l'application sera inutilisable, ce qui n'est pas le cas avec Appimage. Enfin, lorsque l'on veut un système minimaliste, Flatpak brise définitivement tous nos efforts par les simples défauts que j'ai énoncé plus haut. I much prefer Appimage. With Flatpak, you have to install the tools and load the "runtime", which are incredibly heavy (a thought to those who have ADSL...). You end up with a disk (often SSD where GB are expensive) full of useless dependencies just to use an application (I already had a word processor with more than one gigabyte with Flatpak). Moreover, if you use a distribution that does not provide Flatpak, the application will be unusable, which is not the case with Appimage. Finally, when you want a minimalist system, Flatpak definitely breaks all your efforts by the simple flaws I stated above. |
@grossmj Both Flatpaks and AppImages have their pros and cons. While it's true Flatpaks require a few hundreds MB of runtime, this is only for the first one, the following Flatpaks you install will be light as you already have the runtime installed. In the long run AppImages require more data to download because everytime they are updated you need to download the whole app and the bundled libraries for each application. Flatpaks are also sandboxed by default, AppImages need to be run on top of firejail and that often doesn't work (as in they don't launch), and even when it works Flatpak's bubblewrap is a superior sandbox. Having it listed in Flathub will also give the project more visibility. |
This needs more attention as the jammy ppa is incompatible with Debian Bookworm because the .dpkg packages are now compressed with zstd and the focal packages are built for a too old version of python to work. The only current way to install on Debian Bookworm is via pip. |
any news on this ? maybe at least a vm so we can load it faster since the install instructions are not "compatible" with some new distro releases , it might be challenging to put it in an app image or flatpak or we could use the system docker for networking or package only the gui and the server ? |
Hey, I began packaging GNS3-GUI as a Flatpak: https://github.com/zefr0x/flathub/tree/gns3-gui For now there might be some limitations when running external tools like Probably the best solution is just shipping those tools as plugins.
We also need a For the GNS3 Server, it will be shipped as a plugin (since it's optional), but there might be some limitations since it does interact with low level stuff. It there was no way to get around those limitations they will just be disabled in the Flatpak version. When I get most server stuff woking I will post an update. |
Thanks, I am going to check this out in detail soon.
Just wondering if gns3-server should be shipped as a plugin because there is the case when users only want the server installed on a remote Linux machine or VM? Also, now you choose to only install the gns3-server and use the web-ui for all your projects. |
Flatpak is not designed to ship stand alone non-gui applications (also it will not be accepted in Flathub). For hosting the gns3-server by it self its better to be packaged as a snap. I haven't done one before, but snaps are better for server-focused applications. |
Ok got it, thanks for this clarification 👍 |
Have you made progress? please don't hesitate to submit a PR. Thanks 👍 |
Hello, Some time ago I tried to build an AppImage for GNS3 without success due to the multitude of components it contains (non-embedded Python dependencies in particular). For those who'd like to get started, I've written a procedure for building an AppImage for a simple Electron application (VSCodium): https://doc.ycharbi.fr/index.php/Appimage#Construction_d'une_image |
Hi all,
i see issues when running the gns3-gui on archlinux and most probably other distro's too.
Several times i tried to convince people to use gns3-gui against e.g. my gns3-server or their own i ran into issues of either:
If we got a dedicated machine in our lan with gns3-server, we can have that machine rot in any weird state it wants, as long as gns3-server runs fine as no one has to deal with it directly but only through the gui.
At the moment its more feasible for me deploying the windows build with wine for compatibility reasons.
Can we have AppImage or Flatpack or a similar solution for the gns3-gui including python dependencies (maybe QT and maybe Wireshark versions known to work)?
I know the images might get probably huge with the dependencies, but then this would be a portable solution to run on probably any desktop linux without major pains and without breaking stuff.
I know there's things link python virtualenv and other ways to get it running, but most people just won't spend the time getting all of this together, nor do i want to have to do this when trying to get people use it on their machines.
Anyways thanks for the awesome project and keep up the good work :)
The text was updated successfully, but these errors were encountered: