Snap Package Management for Ubuntu 16.04-based Xenialdog

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

Snap Package Management for Ubuntu 16.04-based Xenialdog

#1 Post by labbe5 »

First, you must be sure the snapd package is installed in Xenialdog

sudo apt install snapd

Second, you can install snap packages in terminal via this template command :

sudo snap install [packagename]

snap list to see all snap packages installed.

sudo snap refresh package name to update a package.

snap find to find snap packages.

sudo snap remove package name to remove a snap package.

Ubuntu Xenial 16.04, on which Xenialdog is based, has a package manager that allows the installation of deb. files and snap files.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#2 Post by mcewanw »

I was independently trying to use snap in XenialDog and came across a problem in its installation as described here (with fix from Fred) on XenialDog thread. Just came across your post here and thought I'd alert everyone to this:

http://murga-linux.com/puppy/viewtopic. ... 938#908938

For those who want to play with snap, I find it also useful to install snappy-playpen from github as described here:

https://developer.ubuntu.com/en/desktop/examples/

Of course, to install snappy-playpen from github you first need install git onto XenialDog using:

Code: Select all

apt-get update
apt-get install git
Be warned though... snap apps include all their own needed dependencies, so they are pretty huge! EDIT: And more so, since ubuntu-core will also be automatically installed as part of installation of the snap app onto your XenialDog system. Having now tried it, I can't see myself using it in practice, unless there is some advantage for me I haven't thought of... I suppose it's a bit like using squashfs files, which have been created with all libs etc included (albeit relying also on ubuntu-core being on the system, which seems to take up around a further 61MB - I'm not sure though whether that is in compressed or uncompressed form, so if compressed will be even larger uncompressed).

EDIT: Looks like the snap system is going to be cleverer than I realised in terms of minimising bloat. Seems its going to include de-duplication of files functionality - effectively allowing shared libs I guess:

http://www.phoronix.com/scan.php?page=n ... uplication

William
github mcewanw

labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

an opinion piece about Snap, Flatpak and AppImage

#3 Post by labbe5 »

https://distrowatch.com/weekly.php?issu ... 04#opinion

Reading this opinion piece about Snap packages and Flatpak and AppImage, you will learn that the best of the three is AppImage, that you can sandbox with Firejail, AppImage apps working in a test with Ubuntu and Fedora distros. Whereas Snap and Flatpak aren't truely universal, and they don't even work on Ubuntu or Fedora.

Post Reply