Snappy: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 15: | Line 15: | ||
* An update can never fail, as a package installation could potentially fail and become incomplete with typical Linux packages. | * An update can never fail, as a package installation could potentially fail and become incomplete with typical Linux packages. | ||
* Snappy also supports “delta” updates, which means only the changed bits of the package need to be downloaded and installed. | * Snappy also supports “delta” updates, which means only the changed bits of the package need to be downloaded and installed. | ||
* Snappy-based Ubuntu systems might be standard. | * Snappy-based Ubuntu systems might be standard. | ||
== Snap vs Flatpak vs AppImage == | |||
[https://www.fosslinux.com/42410/snap-vs-flatpak-vs-appimage-know-the-differences-which-is-better.htm Snap vs. Flatpak vs. AppImage: Know The Differences, Which is Better] | |||
[https://askubuntu.com/a/1009061 What are the differences between snaps, appimage, flatpak and others?] | |||
[https://www.atechtown.com/flatpak-vs-snap/ Flatpak vs Snap: Which one should I use?] | |||
* The first big difference is that '''Snap''' is a project of Canonical that in the future intends that all Ubuntu programs will use this technology. While '''Flatpak''' is not associated with any Linux distribution and its goal is to improve the installation of the programs in Linux. | |||
* Snap supports IoT or network services technologies while Flatpak focuses on desktop applications | |||
= [https://docs.snapcraft.io/reference/snap-command Snap commands] = | = [https://docs.snapcraft.io/reference/snap-command Snap commands] = |
Revision as of 13:04, 10 December 2020
Snappy (package manager)
- https://wiki.ubuntu.com/Snappy
- https://en.wikipedia.org/wiki/Snappy_(package_manager)
- Ubuntu Snappy Core
- Snapcraft - Snapcraft is the command line tool for writing and publishing your software as a snap.
- 10 Popular Windows Apps That Are Also Available on Linux
- What You Need to Know About Snaps on Ubuntu 20.04
How Snappy packages are different from Deb
An article from PCWorld. Skype, Spotify, Minecraft, JetBrains Dev Suite, MySQL Workbench, Blender.
- Applications are no longer installed system-wide. The base Ubuntu operating system is kept securely isolated from applications you install later. Both the base system and Snappy packages are kept as read-only images.
- Snappy packages can include all the libraries and files they need, so they don’t depend on other packages.
- An update can never fail, as a package installation could potentially fail and become incomplete with typical Linux packages.
- Snappy also supports “delta” updates, which means only the changed bits of the package need to be downloaded and installed.
- Snappy-based Ubuntu systems might be standard.
Snap vs Flatpak vs AppImage
Snap vs. Flatpak vs. AppImage: Know The Differences, Which is Better
What are the differences between snaps, appimage, flatpak and others?
Flatpak vs Snap: Which one should I use?
- The first big difference is that Snap is a project of Canonical that in the future intends that all Ubuntu programs will use this technology. While Flatpak is not associated with any Linux distribution and its goal is to improve the installation of the programs in Linux.
- Snap supports IoT or network services technologies while Flatpak focuses on desktop applications
Snap commands
Some snap commands
- snap help
- snap version
- snap list: see a list of installed snap app
- snap find queryname: find a snap app. For example snap find browser, snap find media.
- snap install appname: install snap apps
- snap remove appname: remove snap apps
- snap info appname: see more information about a snap app
- sudo snap refresh: update a snap app. You actually don't need it since snapd runs in the background and handles updates automatically
- snap changes: see a history of the changes made to your system
How to run the Snap applications: you can run snap applications just like any other application installed on your system.
6 Essential Ubuntu Snap Commands You Should Know
Update packages
# Update a package sudo snap refresh <package> # Update all packages sudo snap refresh
How To Remove Old Snap Versions To Free Up Disk Space
https://www.linuxuprising.com/2019/04/how-to-remove-old-snap-versions-to-free.html
$ du -sh /var/lib/snapd/snaps/ 2.2G /var/lib/snapd/snaps/ $ ls /var/lib/snapd/snaps/ anbox_167.snap gnome-characters_206.snap atom_222.snap gnome-characters_254.snap ... gnome-calculator_406.snap sublime-text_58.snap gnome-characters_139.snap $ sudo snap set system refresh.retain=2 # Not useful [sudo] password for brb: $ du -sh /var/lib/snapd/snaps/ 2.2G /var/lib/snapd/snaps/ $ nano remove-old-snaps $ chmod +x remove-old-snaps $ sudo ./remove-old-snaps atom (revision 222) removed atom (revision 223) removed ... sublime-text (revision 51) removed sublime-text (revision 44) removed $ du -sh /var/lib/snapd/snaps/ 1.1G /var/lib/snapd/snaps/
Docker
I haven't found any tutorial yet!
Ova image
Sorry, I don't get the command line back. Booting stuck in the middle.
Beaglebone
http://beagleboard.org/snappy or http://www.ubuntu.com/things#try-beaglebone