Ubuntu Snap/de: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>
{{TOCright}}
== Einführung ==
== Einführung ==


Line 15: Line 16:


In allen Systemen, in denen Snaps installiert werden sollen, muss zuerst der Snap Daemon installiert werden. Das Paket heißt normalerweise {{incode|snapd}}.
In allen Systemen, in denen Snaps installiert werden sollen, muss zuerst der Snap Daemon installiert werden. Das Paket heißt normalerweise {{incode|snapd}}.

=== Debian/Ubuntu ===


Für Debian/Ubuntu und ähnliche Systeme, die den APT Verwalter verwenden, wird der Daemon wie folgt installiert:
Für Debian/Ubuntu und ähnliche Systeme, die den APT Verwalter verwenden, wird der Daemon wie folgt installiert:
Line 30: Line 33:
sudo snap install --edge freecad-ppd
sudo snap install --edge freecad-ppd
}}
}}

=== Manjaro ===

To install the stable version of the Snap use:
{{Code|lang=bash|code=
snap install freecad
}}
To install the development version of the Snap use:
{{Code|lang=bash|code=
snap install --edge freecad-ppd
}}

== Notes ==

* Figuring out what development version is installed type the following in the CLI
: {{Code|lang=bash|code=
snap info freecad-ppd
}}

== Advanced ==

The following commands are geared for users that are familiar with git and have a locally cloned repository of upstream FreeCAD repo
: {{Code|lang=bash|code=
git clone https://github.com/FreeCAD/FreeCAD
cd FreeCAD/
}}

* Find out the latest upstream revision number (also known as 'HEAD').
: {{Code|lang=bash|code=
git rev-list --count HEAD
}}

* Translate the current snap development version in to a revision number. Make sure you're within your FreeCAD cloned repo (as mentioned above)
: {{Code|lang=bash|code=
snap info freecad-ppd {{!}} grep -e '^installed:' {{!}} awk -F ' ' '{ print $2 }' {{!}} cut -d'~' -f2 {{!}} xargs -I{} git rev-list --count {}
}}

* The difference between the numbers will tell you have many revisions behind upstream the snap development (edge) is


== Verweise ==
== Verweise ==
Line 36: Line 77:
* [https://forum.freecadweb.org/viewtopic.php?f=4&t=46044 0.19 Snap Vorschau benötigt "Tester"], ältere Snap von {{Emphasis|vejmarie}}
* [https://forum.freecadweb.org/viewtopic.php?f=4&t=46044 0.19 Snap Vorschau benötigt "Tester"], ältere Snap von {{Emphasis|vejmarie}}
* [https://forum.freecadweb.org/viewtopic.php?f=42&t=46853 Diskussion: Zustand des Snap (Snap Pakete)], neuere Version des Snap von {{Emphasis|ppd}}
* [https://forum.freecadweb.org/viewtopic.php?f=42&t=46853 Diskussion: Zustand des Snap (Snap Pakete)], neuere Version des Snap von {{Emphasis|ppd}}

* [[AppImage]] - another self-contained 'binary' like format to run FreeCAD
* [[Flatpak]]


{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Revision as of 21:42, 21 December 2021

Einführung

Ein Ubuntu Snap Paket oder einfach nur Snap ist ein Distributionsformat, das dem AppImage insofern ähnelt, als es als "universell installierbares Paket" für die Bereitstellung von Software in Linux Systemen gedacht ist. Snaps wurden von Ubuntu eingeführt, aber sie sollen in allen Linux Distributionen laufen, solange der Snap Daemon, oder snapd, im Zielsystem verfügbar ist.

Ein Snap Paket hat zwei Hauptmerkmale:

  • Programme sind in einem Sandkasten untergebracht, so dass sie den Rest Ihres Betriebssystems nicht stören.
  • Programme werden automatisch im Hintergrund aktualisiert, um die neueste Version der Anwendung zu erhalten.

Weitere Möglichkeiten zur Installation der Software siehe Installation unter Linux.

Einrichtung

Ab v0.19 ist die Verwendung von Snaps experimentell. Die aktuellen Snaps werden von Freiwilligen generiert und bereitgestellt.

In allen Systemen, in denen Snaps installiert werden sollen, muss zuerst der Snap Daemon installiert werden. Das Paket heißt normalerweise snapd.

Debian/Ubuntu

Für Debian/Ubuntu und ähnliche Systeme, die den APT Verwalter verwenden, wird der Daemon wie folgt installiert:

sudo apt install snapd

Um die stabile Version des Snap zu installieren, verwende

sudo snap install freecad

Um die Entwicklungsversion des Snap zu installieren, verwende:

sudo snap install --edge freecad-ppd

Manjaro

To install the stable version of the Snap use:

snap install freecad

To install the development version of the Snap use:

snap install --edge freecad-ppd

Notes

  • Figuring out what development version is installed type the following in the CLI
snap info freecad-ppd

Advanced

The following commands are geared for users that are familiar with git and have a locally cloned repository of upstream FreeCAD repo

git clone https://github.com/FreeCAD/FreeCAD
cd FreeCAD/
  • Find out the latest upstream revision number (also known as 'HEAD').
git rev-list --count HEAD
  • Translate the current snap development version in to a revision number. Make sure you're within your FreeCAD cloned repo (as mentioned above)
snap info freecad-ppd | grep -e '^installed:' | awk -F ' ' '{ print $2 }' | cut -d'~' -f2 | xargs -I{} git rev-list --count {}
  • The difference between the numbers will tell you have many revisions behind upstream the snap development (edge) is

Verweise

Weitere Informationen über die aktuellen Bemühungen, mit Snaps umzugehen.

  • AppImage - another self-contained 'binary' like format to run FreeCAD
  • Flatpak