ubuntu22.04 installs Navicat Premium16 and reports libfuse.so.2: cannot open shared object file: No such file or dire
1. Install navicat16
1. Download the client
Enter navicat official website to download the linux version, address:
2. Execute the command
After downloading locally, enter the download directory, open the terminal, and execute the following command:
chmod +x navicat16-premium-cs.AppImage
./navicat16-premium-cs.AppImage
3. Solve the error
An error is reported when executing the second command:
./navicat16-premium-cs.AppImage: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory
4. Install dependencies
The reason for this error is the lack of the corresponding library, just download it, use the following command:
sudo apt-get install libfuse2
After the download is complete, execute the command again, and the navicat window will open
./navicat16-premium-cs.AppImage
2. Add navicat to the menu bar
Enter the /usr/share/applications directory and add the navicat.desktop file (root permission may be required)
cd /usr/share/applications
sudo gedit navicat.desktop
Edit the navicat.desktop file
and enter the content, where Exec= and Icon= are followed by your own path, save and exit
[Desktop Entry]
Name=navicat
Exec="/opt/soft/navicat/navicat16-premium-cs.AppImage" U%
Icon=/home/yyq/.icon/Navicat.svg
Type=Application
Alt+F2 input r refresh icon