Jump to content
Eternal Lands Official Forums

New Linux cross-distro snap install package for the desktop client

Recommended Posts

The current method to create a cross-Linux install package for the desktop client is getting rather old. Meanwhile, there are new package formats that make multi-distro packages very easy and come with an application store.  Snap packages are one of these new formats and so I've created a snap package for the Linux Client.  Updates are automatic and there are four channels to use which enable stable and beta versions etc. I would very much like people to give it a try and let me know what you think and if you have any problems.

The store is https://snapcraft.io/store where you can search and find the new package, or go straight to it here https://snapcraft.io/eternallands.  You can also find the package in the Ubuntu store.  Once installed you will have a new desktop launcher icon labelled "Eternal Lands (snap)".  The launcher defaults to the main server but you can choose test or pk by right-clicking the icon.  You can also run from the command line using "eternallands.client" and specify any configuration you wish as a parameter.  The package includes the data, sound and music files.


Things to note:

  1. One known issue is that opening URLs does not currently work, (this silently fails) but I'm investigating this and will update when its fixed.
  2. The personal configuration files do not get stored in the normal place $HOME/.elc but in $HOME/snap/eternallands/current/.elc (actually a link to $HOME/snap/eternallands/common/config) .  There does not appear to be a way to use the normal location this so you will have a clean configuration.  You could copy existing files over as the data directory is automatically fixed at run-time.  On the up side, this will not interfere with any existing install.
  3. If you remove the snap package, all user files for the package are also removed so keep this in mind and back-up if you need to keep them.  There does not appear to be a way to prevent this.  The snap developers are currently working on a snapshot facility that will avoid this and, in addition, enable you to make backup copies of you configuration files too.
  4. The other, competing cross-distro format is https://flatpak.org so I intend to look at that too I have created one of those too.



Edited by bluap

Share this post

Link to post
Share on other sites

I've fixed the URL issue.  Anyone with the package installed (there have been a few installs thanks :)) will get the update automatically.

Share this post

Link to post
Share on other sites

There is now a build from the latest source code in the edge channel.  There have been a couple of minor bug fixes since the 1.9.5 release.

Share this post

Link to post
Share on other sites

A bit more information about these snap packages.  Some Linux distros, for example Ubuntu, come with the snap package capability pre-installed.   For many others there are instructions to set up snaps on the snapcraft website here: https://docs.snapcraft.io/core/install.  Once setup, you can search for the package from your software store or install it from the command line as root or using sudo one most distros:

sudo snap install eternallands

To install the latest source version, use the edge channel:

sudo snap install eternallands --edge

To switch between stable and edge use:

sudo snap refresh eternallands --stable

sudo snap refresh eternallands --edge

Note if you uninstall the snap, for now, user config which is located in ~/snap/eternallands/ not ~/.elc, will be removed (see top post).  This does not happen for upgrades, changing release channel or reverting versions.


One more thing, snaps are confined from the OS and other apps through security mechanisms.  These EL package use the strictest confinement policy.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.