I have been downloading the latest version of ShellCheck and tried to install it on my System taking the following steps:
I downloded shellcheck-latest.linux.x86_64.tar.xz then I run as root:
# extracting the tar tar --directory=/opt -xvf shellcheck-latest.linux.x86_64.tar.xz # added the directory to path export PATH=$PATH:/opt/shellcheck/bin # created a symlink: cd /usr/bin ln -s /opt/shellcheck shellsheck
if I try to run the program I always get the following error (translated from german):
bash: /usr/bin/shellcheck: Can not run binary file: wrong format.
In the README it says:
This is a precompiled ShellCheck binary.
so I thought I would run fine with this steps.
Here are some of my system informations:
Operating System: Debian GNU/Linux buster/sid Kernel: Linux 4.11.0-1-686-pae Architecture: x86