{{tag>application linux ubuntu joplin notes}}
====== Installer Joplin 3.4 sur Ubuntu 25.10 ======
===== Environnement =====
* Ubuntu 25.10 (questing)
* Joplin 3.4.12
===== Prérequis =====
Le fichier AppImage de Joplin ne s'exécutera pas sous Ubuntu 25.10 sans installation du paquet **libfuse2t64** :
apt install -y libfuse2t64
===== Installation =====
L'application est distribuée au [[sysadmin:linux:format_appimage|format AppImage]] mais son déploiement dans ce cas est un peu plus compliqué.
Sous Ubuntu (24.04 et 25.10), l'exécution directe du fichier image retourne l'erreur ''SUID sandbox helper ... not configured correctly''. Pour la corriger on décompresse l'image et on modifie les droits sur le fichier chrome-sandbox. Cette méthode est abordée dans la note [[sysadmin:linux:format_appimage#erreur_the_suid_sandbox_helper_binary_was_found_but_is_not_configured_correctly|dédiee au format AppImage]].
mkdir -p ~/Applications/joplin/joplin-3.4.12
cd ~/Applications/joplin/joplin-3.4.12
wget -O Joplin-3.4.12.AppImage "https://objects.joplinusercontent.com/v3.4.12/Joplin-3.4.12.AppImage?source=JoplinWebsite&type=New"
chmod u+x Joplin-3.4.12.AppImage
# Décomprression de l'image
./Joplin-3.4.12.AppImage --appimage-extract
# Correction des droits sue le SUID sandbox helper
cd squashfs-root/
sudo chown root: chrome-sandbox
sudo chmod 4755 chrome-sandbox
===== Intégration à l'environnement de bureau =====
mkdir -p ~/.local/share/icons/hicolor/512x512/apps
cd ~/.local/share/icons/hicolor/512x512/apps
wget -O joplin.png "https://joplinapp.org/images/Icon512.png"
Créer le fichier .desktop
vim ~/.local/share/applications/joplin.desktop
[Desktop Entry]
Name=Joplin
Comment=Joplin for Desktop
Exec=env APPIMAGELAUNCHER_DISABLE=TRUE "/full/path/to/Applications/joplin/joplin-3.4.12/squashfs-root/AppRun" %u
Icon=joplin
StartupWMClass="@joplin/app-desktop"
Type=Application
Categories=Office;
MimeType=x-scheme-handler/joplin;
# should be removed eventually as it was upstream to be an XDG specification
X-GNOME-SingleWindow=true
SingleMainWindow=true
update-desktop-database ~/.local/share/icons/
update-desktop-database ~/.local/share/applications/
===== Dépannage =====
==== Fichier manquant libfuse.so.2 ====
Au lancement de l'application le message d'erreur suivant est retourné :
dlopen(): error loading libfuse.so.2
AppImages require FUSE to run.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
Sous Debian/Ubuntu le fichier se trouve dans le paquet **libfuse2t64** :
apt install -y libfuse2t64
==== Erreur SUID not configured correctly ====
Le démarrage de l'application échoue avec le message d'erreur suivant :
[29782:1123/154211.659924:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_JoplinatyUPm/chrome-sandbox is owned by root and has mode 4755.
Trappe pour point d'arrêt et de trace (core dumped)
Deux possibilités :
- Lancer l'application avec l'option %%--no-sandbox%% ;
- Décompresser l'archive AppImage et [[sysadmin:linux:format_appimage#erreur_the_suid_sandbox_helper_binary_was_found_but_is_not_configured_correctly|corriger le problème de droit]] ;
===== Références =====
* [[https://joplinapp.org/help/install/|Installer Joplin (joplinapp.org) (en)]]
* [[https://github.com/laurent22/joplin/blob/dev/Joplin_install_and_update.sh|Script d'installation de Joplin (github.com) (en) (bash)]]