LedgerHQ / ledger-live-desktop

⛔️ DEPRECATED - Ledger Live (Desktop)
https://www.ledger.com/live
MIT License
952 stars 301 forks source link

support libfuse3 (Ubuntu 22.04 LTS jammy) #4971

Open arno01 opened 2 years ago

arno01 commented 2 years ago

Looks like libfuse2 is history in Ubuntu 22.04 LTS jammy and Ledger Live Desktop 2.41.3 isn't happy about its absence:

# arch
x86_64

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:    22.04
Codename:   jammy

$ ledger-live-desktop-2.41.3-linux-x86_64.AppImage 
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

Workaround?

Installing libfuse2 fixes the issue, but that's not the best user experience:

sudo apt install libfuse2

And some reported that libfuse2 installation in Ubuntu 22.04 LTS breaks the desktop icons:

Note, if you install libfuse2 then it breaks the desktop. It results in the desktop icons disappearing. To fix it the whole ubuntu desktop has to be reinstalled, with the command being: sudo apt-get install --reinstall ubuntu-desktop. Note, this breaks again AppImage as fuse package is removed once more. Source https://youtrack.jetbrains.com/issue/TBX-7534

So, after using it, one would probably want to remove libfuse2:

apt remove libfuse2