Can't run .AppImage's. Getting "fish: unknown command"

I’m struggling to open any AppImages that I’ve downloaded. After confirming they were marked as ‘executable’ in the file properties I tried just double clicking them, but nothing would happen. So I tried opening them from the terminal and have been receiving this ‘fish: Unknown command’ error.

I tried searching everywhere but found nothing that seems to have helped. Both fuse2 and python-fuse appear to be up to date.

❯ . ElegooSlicer_Linux_V1.5.1.6.AppImage
fish: Unknown command: \x7fELF\cb\ca\ca
ElegooSlicer_Linux_V1.5.1.6.AppImage (line 1):
ELFAI>��@xb@8
^
from sourcing file ElegooSlicer_Linux_V1.5.1.6.AppImage

~/Downloads
❯ . FreeCAD_1.1.1-Linux-aarch64-py311.AppImage
fish: Unknown command: \x7fELF\cb\ca\ca
FreeCAD_1.1.1-Linux-aarch64-py311.AppImage (line 1):
ELFAI�@�B@@P_
P_
X�
$$X�pp X�
X� X� P�td7
7
7
�+�+Q�tdR�tdX�
���*AIstaticGNU�s����zf��02R0�X�
,Rx�
}�� ��
@���
����
^
from sourcing file FreeCAD_1.1.1-Linux-aarch64-py311.AppImage

~/Downloads 8s
❯ sudo pacman -S fuse2 python-fuse
warning: fuse2-2.9.9-5 is up to date – reinstalling
warning: python-fuse-1.0.9-2.1 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…

Package (2) Old Version New Version Net Change

extra/fuse2 2.9.9-5 2.9.9-5 0.00 MiB
cachyos-extra-v3/python-fuse 1.0.9-2.1 1.0.9-2.1 0.00 MiB

Total Installed Size: 0.66 MiB
Net Upgrade Size: 0.00 MiB

Do you have fuse3 also installed?

(post deleted by author)

Appears so.

❯ sudo pacman -S fuse3
warning: fuse3-3.18.2-1.1 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…

Package (1) Old Version New Version Net Change

cachyos-extra-v3/fuse3 3.18.2-1.1 3.18.2-1.1 0.00 MiB

Total Installed Size: 0.50 MiB
Net Upgrade Size: 0.00 MiB

It seems you use

. FreeCAD_1.1.1-Linux-aarch64-py311.AppImage

can you try

./FreeCAD_1.1.1-Linux-aarch64-py311.AppImage

Also you have aarch64, which is ARM platform. Are you sure you are on an ARM platform?

. ElegooSlicer_Linux_V1.5.1.6.AppImage

Do you have a space between the . and the E?
try running it like this ./ElegooSlicer_Linux_V1.5.1.6.AppImage

❯ . FreeCAD_1.1.1-Linux-aarch64-py311.AppImage

why does it say aarch64? are you on ARM64 platform?

Both of you appear to have been right on the money. Switching it from:
. Filename.AppImage
to
./Filename.AppImage
Seems to have helped. It provided me with the following error, so I updated libmspack. Now I can open the Elegoo AppImage. The FreeCAD one appears to still not work, and I think @LuckyDog is correct - I downloaded the ARM version. I’m going to try getting the other one and see if it works.
_______________________

❯ . ElegooSlicer_Linux_V1.5.1.6.AppImage
fish: Unknown command: \x7fELF\cb\ca\ca
ElegooSlicer_Linux_V1.5.1.6.AppImage (line 1):
ELFAI>��@xb@8
^
from sourcing file ElegooSlicer_Linux_V1.5.1.6.AppImage

~/Downloads
❯ ./ElegooSlicer_Linux_V1.5.1.6.AppImage
/tmp/.mount_ElegooICablK/bin/elegoo-slicer: error while loading shared libraries: libmspack.so.0: cannot ope
n shared object file: No such file or directory

~/Downloads
❯ sudo pacman -S libmspack
[sudo] password for chris:
resolving dependencies…
looking for conflicting packages…

Package (1) New Version Net Change Download Size

cachyos-extra-v3/libmspack 1:1.11-2.1 0.20 MiB 0.07 MiB

Total Download Size: 0.07 MiB
Total Installed Size: 0.20 MiB

After I downloaded the right .AppImage, it works! Looks like I needed to update libmspack to be able to run it, because now just double-clicking the file will open it. I had the wrong syntax in terminal so I never saw the error pointing me that way.

Thanks for the help on this.

By the way, Shelly has a wonderful appimage manager built into it. I definitely recommend using it. It automatically adds the application to app menu and you can even setup automatic updates for Github downloads and stuff. Give it a look. You might need to enable it in Shelly settings first though.

Good to know. I did have to go into Settings to enable AppImage managing, but once I did that I was able to add them easily.

Now this is the kind of stuff that would scare me.

Not 20-line PKGBUILDs in plain language.

Sure this should just be made executable and run. Its obviously fine. :zany_face:

( These may actually be trusted from trusted sources .. the point was just to contrast and compare. They cannot be easily audited by any user. )