ubuntu22.04 installs Navicat Premium16 and reports libfuse.so.2: cannot open shared object file: No such file or dire

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:

Navicat | Download Navicat Premium 14-day free trial for Windows, macOS and Linux Download the free 14-day trial of Navicat Premium and try the latest features of Navicat version 16.

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

insert image description here

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

insert image description here

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

Guess you like

Origin blog.csdn.net/m0_46825740/article/details/128818961