Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 2.68 KB

nolibfuse.md

File metadata and controls

48 lines (35 loc) · 2.68 KB

Convert Type2 AppImages requiring libfuse2 to New Generation AppImages

Option nolibfuse converts old Type2 AppImages asking for "libfuse2" into new generation AppImages:

am nolibfuse $PROGRAM

or

appman nolibfuse $PROGRAM

in this example, I'll convert Libreoffice and Kdenlive:

get-rid-of-libfuse2-2024-08-18_22.09.08.mkv.mp4

As you can see, the file sizes are also smaller than before.

This process only works for old AppImages that still depend on "libfuse2", other files will be ignored.

The original AppImage will be extracted using the --appimage-extract option, and then repackaged using appimagetool from https://github.com/AppImage/appimagetool

Updating converted AppImages

The nolibfuse option adds the following lines at the end of the AM-updater script

echo y | am nolibfuse $APP
notify-send "$APP has been converted too! "

or

echo y | appman nolibfuse $APP
notify-send "$APP has been converted too! "

so if an update happens through "comparison" of versions, the converted AppImage will be replaced by the upstream version and then the nolibfuse option will automatically start the conversion (prolonging the update time, depending on the size of the AppImage). In this example, I update all the apps, including the original Avidemux, that is an old Type2 AppImage:

update-converted-appimages-2024-08-18_21.09.53.mkv.mp4

Instead, if the installed AppImage can be updated via zsync, this may no longer be updatable, anyway a solution may be the use of appimageupdatetool, at https://github.com/AppImageCommunity/AppImageUpdate .

The nolibfuse option has been improved since version 7.8, so everyone can say goodbye to the old "libfuse2" dependence.

Anyway, I suggest anyone to contact the developers to update the packaging method of their AppImage! This is also a way to keep open source projects alive: your participation through feedback to the upstream.

The nolibfuse option is not intended to replace the work of the owners of these AppImage packages, but to encourage the use of AppImage packages on systems that do not have "libfuse2", a library that is now obsolete and in fact no longer available out-of-the-box by default in many distributions, first and foremost Ubuntu and Fedora.


Back to "Guides and tutorials" Back to "Main Index" "Portable Linux Apps" "AppMan"