Another CLI Install Question

OS Debian 11.6 amd64

$PATH is all good.

Error
bash: /home/matthew/bin/exercism: cannot execute binary file: Exec format error

Any help appreciated.

My first guess is that you’ve installed the wrong binary.

Could you share the output of the following three commands:

dpkg --print-architecture
file /home/matthew/bin/exercism
md5sum /home/matthew/bin/exercism

$ dpkg --print-architecture
amd64

$ file /home/matthew/bin/exercism
/home/matthew/bin/exercism: Mach-O 64-bit x86_64 executable

$ md5sum /home/matthew/bin/exercism
22d19cdc532e808f92d5aea7f4f6cbd3 /home/matthew/bin/exercism

I just spotted my error on the Releases page… In too much of a rush and before my 1st coffee on a Sunday… :flushed:

All working as expected now. Thank you @siebenschlaefer

So you were able to fix the error? Great to hear.

1 Like