Ubuntu Snap: Difference between revisions

From FreeCAD Documentation
(An Ubuntu Snap package, or just Snap, introduced by Ubuntu Linux, is a distribution format similar to AppImage in that it is intended to be a "universal installable package" to deploy software in Linux systems.)
 
(→‎Installation: In all systems where Snaps are to be installed, the Snap daemon must be installed first. The package is normally called snapd.)
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
== Introduction ==
== Introduction ==


An [[Ubuntu_Snap|Ubuntu Snap]] package, or just [[Ubuntu_Snap|Snap]], introduced by Ubuntu Linux, is a distribution format similar to [[AppImage|AppImage]] in that it is intended to be a "universal installable package" to deploy software in Linux systems.
An [[Ubuntu_Snap|Ubuntu Snap]] package, or just [[Ubuntu_Snap|Snap]] is a distribution format similar to [[AppImage|AppImage]] in that it is intended to be a "universal installable package" to deploy software in Linux systems. Snaps were introduced by Ubuntu but they are intended to run in all Linux distributions as long as the Snap daemon, or {{incode|snapd}}, is available in the target system.


A Snap package has two main characteristics:
The intention is that programs installed from a Snap are sandboxed so they do not interfere with the rest of your operating system, and moreover can be updated automatically to the latest version to get the best version of the program.
* Programs are sandboxed so they do not interfere with the rest of your operating system.
* Programs are updated automatically in the background in order to get the newest version of the application.

For other ways of installing the software, see [[Installing|Installing]].

== Installation ==


As of v0.19 the use of Snaps is experimental. The current Snaps are generated and hosted by volunteers.
As of v0.19 the use of Snaps is experimental. The current Snaps are generated and hosted by volunteers.


In all systems where Snaps are to be installed, the Snap daemon must be installed first. The package is normally called {{incode|snapd}}.
To install one version of the Snap use:

For Debian/Ubuntu and similar systems which use the APT manager the daemon is installed as follows:
</translate>
{{Code|lang=bash|code=
sudo apt install snapd
}}
<translate>

To install the stable version of the Snap use:
</translate>
{{Code|lang=bash|code=
sudo snap install freecad
}}
<translate>

To install the development version of the Snap use:
</translate>
</translate>
{{Code|lang=bash|code=
{{Code|lang=bash|code=
snap install --edge freecad-ppd
sudo snap install --edge freecad-ppd
}}
}}
<translate>
<translate>
Line 19: Line 41:


More information about current efforts to deal with Snaps.
More information about current efforts to deal with Snaps.
* [https://forum.freecadweb.org/viewtopic.php?f=42&t=46853 Discussion: State of the snap (Snap Packaging)]
* [https://forum.freecadweb.org/viewtopic.php?f=4&t=46044 0.19 Snap Preview needs "testers"], older Snap by {{Emphasis|vejmarie}}
* [https://forum.freecadweb.org/viewtopic.php?f=42&t=46853 Discussion: State of the snap (Snap Packaging)], newer version of the Snap by {{Emphasis|ppd}}


</translate>
</translate>

Revision as of 00:31, 6 June 2020

Introduction

An Ubuntu Snap package, or just Snap is a distribution format similar to AppImage in that it is intended to be a "universal installable package" to deploy software in Linux systems. Snaps were introduced by Ubuntu but they are intended to run in all Linux distributions as long as the Snap daemon, or snapd, is available in the target system.

A Snap package has two main characteristics:

  • Programs are sandboxed so they do not interfere with the rest of your operating system.
  • Programs are updated automatically in the background in order to get the newest version of the application.

For other ways of installing the software, see Installing.

Installation

As of v0.19 the use of Snaps is experimental. The current Snaps are generated and hosted by volunteers.

In all systems where Snaps are to be installed, the Snap daemon must be installed first. The package is normally called snapd.

For Debian/Ubuntu and similar systems which use the APT manager the daemon is installed as follows:

sudo apt install snapd

To install the stable version of the Snap use:

sudo snap install freecad

To install the development version of the Snap use:

sudo snap install --edge freecad-ppd

Links

More information about current efforts to deal with Snaps.