Ubuntu Snap/es: Difference between revisions
No edit summary |
(Updating to match new version of source page) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{TOCright}} |
|||
== Introducción == |
== Introducción == |
||
<div class="mw-translate-fuzzy"> |
|||
Un [[Ubuntu_Snap/es|Ubuntu Snap]] paquete, o simplemente [[Ubuntu_Snap/es|Snap]] es un formato de distribución similar a [[AppImage/es|AppImage]] en el que se pretende que sea un "paquete instalable universal" para desplegar software en sistemas Linux. Los Snaps fueron introducidos por Ubuntu pero están pensados para ejecutarse en todas las distribuciones de Linux siempre y cuando el demonio Snap, o {{incode|snapd}}, esté disponible en el sistema objetivo. |
Un [[Ubuntu_Snap/es|Ubuntu Snap]] paquete, o simplemente [[Ubuntu_Snap/es|Snap]] es un formato de distribución similar a [[AppImage/es|AppImage]] en el que se pretende que sea un "paquete instalable universal" para desplegar software en sistemas Linux. Los Snaps fueron introducidos por Ubuntu pero están pensados para ejecutarse en todas las distribuciones de Linux siempre y cuando el demonio Snap, o {{incode|snapd}}, esté disponible en el sistema objetivo. |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
Un paquete de Snap tiene dos características principales: |
Un paquete de Snap tiene dos características principales: |
||
* Los programas están en una caja de arena para que no interfieran con el resto del sistema operativo. |
* Los programas están en una caja de arena para que no interfieran con el resto del sistema operativo. |
||
* Los programas se actualizan automáticamente en segundo plano para obtener la última versión de la aplicación. |
* Los programas se actualizan automáticamente en segundo plano para obtener la última versión de la aplicación. |
||
</div> |
|||
Para otras formas de instalar el software, vea [[Installing_on_Linux/es|Instalación en Linux]]. |
Para otras formas de instalar el software, vea [[Installing_on_Linux/es|Instalación en Linux]]. |
||
Line 12: | Line 18: | ||
== Instalación == |
== Instalación == |
||
<div class="mw-translate-fuzzy"> |
|||
A partir del v0.19 el uso de Snaps es experimental. Los Snaps actuales son generados y alojados por voluntarios. |
A partir del v0.19 el uso de Snaps es experimental. Los Snaps actuales son generados y alojados por voluntarios. |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
En todos los sistemas donde se instalen Snaps, el demonio Snap debe ser instalado primero. El paquete se llama normalmente {{incode|snapd}}. |
En todos los sistemas donde se instalen Snaps, el demonio Snap debe ser instalado primero. El paquete se llama normalmente {{incode|snapd}}. |
||
</div> |
|||
=== Debian/Ubuntu === |
|||
Para Debian/Ubuntu y sistemas similares que utilizan el gestor APT el demonio se instala de la siguiente manera: |
Para Debian/Ubuntu y sistemas similares que utilizan el gestor APT el demonio se instala de la siguiente manera: |
||
{{Code|lang=bash|code= |
{{Code|lang=bash|code= |
||
sudo apt install snapd |
sudo apt install snapd |
||
Line 22: | Line 35: | ||
Para instalar la versión estable del Snap use: |
Para instalar la versión estable del Snap use: |
||
{{Code|lang=bash|code= |
{{Code|lang=bash|code= |
||
sudo snap install freecad |
sudo snap install freecad |
||
Line 27: | Line 41: | ||
Para instalar la versión de desarrollo del Snap use: |
Para instalar la versión de desarrollo del Snap use: |
||
{{Code|lang=bash|code= |
{{Code|lang=bash|code= |
||
sudo snap install --edge freecad |
sudo snap install --edge freecad |
||
}} |
}} |
||
=== 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 |
|||
}} |
|||
== Notes == |
|||
==== What FC version am I running ==== |
|||
To figure out which development version is installed type the following in the Command-line interface: |
|||
{{Code|lang=bash|code= |
|||
snap info freecad |
|||
}} |
|||
==== Changing between different Snaps ==== |
|||
Starting from the tail end of the v0.20 release cycle, the FreeCAD snap maintainers added the ability to test experimental FreeCAD builds. Snaps allow for this by easily toggling between different snaps (terminology is '[https://snapcraft.io/docs/channels channels or tracks]'). For example: |
|||
Testing the Topological Naming ('toponaming') branch (created at the start of the v0.21/v1.0 release cycle): |
|||
{{code|lang=bash|code= |
|||
snap refresh freecad --channel=latest/edge/toponaming |
|||
}} |
|||
Using the {{incode|refresh}} command will switch and update the snap channel you're switching to: |
|||
{{code|lang=bash|code= |
|||
snap refresh freecad --channel=latest/edge/toponaming |
|||
}} |
|||
Toggling back to the nightly 'edge' channel: |
|||
{{code|lang=bash|code= |
|||
snap refresh freecad --channel=latest/edge |
|||
}} |
|||
== Advanced == |
|||
The following commands are geared towards users that are familiar with {{incode|git}} and have a locally cloned repository of the upstream FreeCAD repository. |
|||
{{Code|lang=bash|code= |
|||
git clone https://github.com/FreeCAD/FreeCAD |
|||
cd FreeCAD/ |
|||
}} |
|||
To find out the latest upstream revision number (also known as 'HEAD'): |
|||
{{Code|lang=bash|code= |
|||
git pull upstream master # first make sure we have the most up-to-date commits |
|||
git rev-list --count HEAD # 'HEAD' refers to the current commit you are viewing (tip of the master branch) |
|||
}} |
|||
To translate the current snap development version in to a revision number (make sure you're within your cloned FreeCAD repository as mentioned above): |
|||
{{Code|lang=bash|code= |
|||
snap info freecad <nowiki>|</nowiki>\ |
|||
grep -e '^\s\+latest/edge' <nowiki>|</nowiki>\ |
|||
awk -F ' ' '{ print $2 }' <nowiki>|</nowiki>\ |
|||
xargs -I{} git rev-list --count {} |
|||
}} |
|||
'''Note:''' the above bash script 1 liner assumes user has 'edge' (nightly) installed |
|||
The difference between HEAD and the snap edge revision numbers indicates the amount of revisions trailing behind upstream the snap development (edge) is. |
|||
Taking it a step further, if you want a short summary of the commits between the current snap edge and HEAD: |
|||
{{Code|lang=bash|code= |
|||
snap info freecad <nowiki>|</nowiki>\ |
|||
grep -e '^\s\+latest/edge' <nowiki>|</nowiki>\ |
|||
awk -F ' ' '{ print $2 }' <nowiki>|</nowiki>\ |
|||
xargs -I{} git log --oneline --ancestry-path {}..HEAD |
|||
}} |
|||
'''Note:''' The output will indicate what commits '''are not''' in the current 'edge' (but will be on the next nightly update). |
|||
== Enlaces == |
== Enlaces == |
||
<div class="mw-translate-fuzzy"> |
|||
Más información sobre los esfuerzos actuales para tratar con Snaps. |
Más información sobre los esfuerzos actuales para tratar con Snaps. |
||
* [https://forum.freecadweb.org/viewtopic.php?f=4&t=46044 0.19 Snap previsión necesita "probadores"], más viejo Snap de {{Emphasis|vejmarie}} |
* [https://forum.freecadweb.org/viewtopic.php?f=4&t=46044 0.19 Snap previsión necesita "probadores"], más viejo Snap de {{Emphasis|vejmarie}} |
||
* [https://forum.freecadweb.org/viewtopic.php?f=42&t=46853 Discusión: Estado del snap (paquete Snap)], nueva versión del Snap de {{Emphasis|ppd}} |
* [https://forum.freecadweb.org/viewtopic.php?f=42&t=46853 Discusión: Estado del snap (paquete Snap)], nueva versión del Snap de {{Emphasis|ppd}} |
||
</div> |
|||
=== Repositories === |
|||
* https://github.com/FreeCAD/FreeCAD-snap |
|||
* https://snapcraft.io/freecad |
|||
=== Maintainer(s) === |
|||
* ppd ([https://forum.freecadweb.org/memberlist.php?mode=viewprofile&u=24042 forum], [https://github.com/ppd github]) |
|||
* luzpaz ([https://forum.freecadweb.org/memberlist.php?mode=viewprofile&u=12229 forum], [https://github.com/luzpaz github]) |
|||
== Related == |
|||
* [[AppImage|AppImage]] - another self-contained 'binary' like format to run FreeCAD |
|||
* [[Flatpak|Flatpak]] packages |
|||
[[Category:Packaging{{#translation:}}]] |
|||
[[Category:Developer Documentation{{#translation:}}]] |
|||
[[Category:Testing{{#translation:}}]] |
|||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 16:27, 3 July 2022
Introducción
Un Ubuntu Snap paquete, o simplemente Snap es un formato de distribución similar a AppImage en el que se pretende que sea un "paquete instalable universal" para desplegar software en sistemas Linux. Los Snaps fueron introducidos por Ubuntu pero están pensados para ejecutarse en todas las distribuciones de Linux siempre y cuando el demonio Snap, o snapd
, esté disponible en el sistema objetivo.
Un paquete de Snap tiene dos características principales:
- Los programas están en una caja de arena para que no interfieran con el resto del sistema operativo.
- Los programas se actualizan automáticamente en segundo plano para obtener la última versión de la aplicación.
Para otras formas de instalar el software, vea Instalación en Linux.
Instalación
A partir del v0.19 el uso de Snaps es experimental. Los Snaps actuales son generados y alojados por voluntarios.
En todos los sistemas donde se instalen Snaps, el demonio Snap debe ser instalado primero. El paquete se llama normalmente snapd
.
Debian/Ubuntu
Para Debian/Ubuntu y sistemas similares que utilizan el gestor APT el demonio se instala de la siguiente manera:
sudo apt install snapd
Para instalar la versión estable del Snap use:
sudo snap install freecad
Para instalar la versión de desarrollo del Snap use:
sudo snap install --edge freecad
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
Notes
What FC version am I running
To figure out which development version is installed type the following in the Command-line interface:
snap info freecad
Changing between different Snaps
Starting from the tail end of the v0.20 release cycle, the FreeCAD snap maintainers added the ability to test experimental FreeCAD builds. Snaps allow for this by easily toggling between different snaps (terminology is 'channels or tracks'). For example:
Testing the Topological Naming ('toponaming') branch (created at the start of the v0.21/v1.0 release cycle):
snap refresh freecad --channel=latest/edge/toponaming
Using the refresh
command will switch and update the snap channel you're switching to:
snap refresh freecad --channel=latest/edge/toponaming
Toggling back to the nightly 'edge' channel:
snap refresh freecad --channel=latest/edge
Advanced
The following commands are geared towards users that are familiar with git
and have a locally cloned repository of the upstream FreeCAD repository.
git clone https://github.com/FreeCAD/FreeCAD
cd FreeCAD/
To find out the latest upstream revision number (also known as 'HEAD'):
git pull upstream master # first make sure we have the most up-to-date commits
git rev-list --count HEAD # 'HEAD' refers to the current commit you are viewing (tip of the master branch)
To translate the current snap development version in to a revision number (make sure you're within your cloned FreeCAD repository as mentioned above):
snap info freecad |\
grep -e '^\s\+latest/edge' |\
awk -F ' ' '{ print $2 }' |\
xargs -I{} git rev-list --count {}
Note: the above bash script 1 liner assumes user has 'edge' (nightly) installed
The difference between HEAD and the snap edge revision numbers indicates the amount of revisions trailing behind upstream the snap development (edge) is.
Taking it a step further, if you want a short summary of the commits between the current snap edge and HEAD:
snap info freecad |\
grep -e '^\s\+latest/edge' |\
awk -F ' ' '{ print $2 }' |\
xargs -I{} git log --oneline --ancestry-path {}..HEAD
Note: The output will indicate what commits are not in the current 'edge' (but will be on the next nightly update).
Enlaces
Más información sobre los esfuerzos actuales para tratar con Snaps.
- 0.19 Snap previsión necesita "probadores", más viejo Snap de vejmarie
- Discusión: Estado del snap (paquete Snap), nueva versión del Snap de ppd
Repositories
Maintainer(s)
Related
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub