AppImage

What is an AppImage
''Package once and run everywhere. Reach users on all major Linux desktop distributions.''

AppImage is a format similar to a binary that allow to quickly distribute an application to almost any Linux distro. Read more about it on the Appimage homepage and Wikipedia.

Auto Updating
AppImage has a very smart and economical way of updating. It calculates the delta between the new appimage and the older one and will only download the changes between their versions. So essentially, the user theoretically ends up downloading ~10%-15% instead of a new appimage each time. This is done via AppImageUpdate application. There are two methodologies to update through, 1) the command line (CLI) and 2) a dialog box (GUI)

CLI
 Browse https://github.com/AppImage/AppImageUpdate/releases/tag/continuous Download the appimageupdatetool- -x86_64.AppImage Make it executable by running chmod +x ./appimageupdatetool.AppImage To update your pre-existing FreeCAD appimage use: ./appimageupdatetool.AppImage ./FreeCAD.AppImage  Tips:
 * The file names will be unique because of the version info is embedded in them. The above instructions are simplified for convenience.
 * Run ./appimageupdatetool.AppImage --help to learn about functionality like -r and --self-update

Todo: share a script that can be added as an alias or cron job

GUI
 Browse https://github.com/AppImage/AppImageUpdate/releases/tag/continuous <li>Download the appimageupdate- -x86_64.AppImage <li>Make it executable by right clicking on the file, going in to properties and 'Run as an executable' <li>Click on the AppImage icon, a dialog box will appear and you'll be prompted to specify what AppImage you want to update <li>Specify the path to your AppImage <li>AppImage will update </ol>

Using AppImages in your Development Workflow
Note: This section is specifically for developers

A very convenient aspect of FreeCAD is that a majority of it is built in python and doesn't require to manually compile the code (like c++). Essentially, a python file can be modified and upon restarting FreeCAD those changes will be integrated. A developer can quickly work on the latest FreeCAD release using this technique and an appimage. FYI, mentioned procedure doesn't modify the environment in any way, that is nothing gets installed and no environment paths get modified. All one needs to do is the following:

Modifying AppImages
$ <FreeCAD>.AppImage --appimage-extract $ cd squashfs-root/ (Open your python file(s) in you favorite code editor and save) $ ./AppRun

Repackaging AppImages
If you've done the above and now want to re-package the AppImage with your latest changes proceed as follows:

$ cd .. $ wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" $ chmod a+x appimagetool-x86_64.AppImage $ ./appimagetool-x86_64.AppImage squashfs-root